diff options
| author | Paul Eggert | 2015-05-23 09:01:40 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-05-23 09:02:04 -0700 |
| commit | 2219134940a18ba7a3cafa07382f4767bb511fa9 (patch) | |
| tree | aa1597efcf27f23c6cfe9739ba218ffb1f1fd331 /src/ftcrfont.c | |
| parent | 78c9b2e847d14d56569d9e5aae8e0784c7f40844 (diff) | |
| download | emacs-2219134940a18ba7a3cafa07382f4767bb511fa9.tar.gz emacs-2219134940a18ba7a3cafa07382f4767bb511fa9.zip | |
Pacify --enable-gcc-warnings
* src/frame.h (x_query_color): Remove redundant extern decl.
* src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
(ftcrfont_match, ftcrfont_open, ftcrfont_close)
(ftcrfont_text_extents, ftcrfont_draw):
* src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
(XTframe_up_to_date, x_clear_area1, x_clear_frame)
(x_ins_del_lines, frame_highlight, frame_unhighlight)
(x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
(x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
(x_update_window_begin, x_connection_closed)
(x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
(x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
(*x_gc_get_ext_data, x_extension_initialize)
(x_cr_accumulate_data):
Remove redundant static decl. Many of these GCC doesn't complain
about, but we might as well clean out the duplication while we're
in the neighborhood.
* src/xterm.c (x_fill_trapezoid_for_relief):
Remove decl of nonexistent function.
Diffstat (limited to 'src/ftcrfont.c')
| -rw-r--r-- | src/ftcrfont.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ftcrfont.c b/src/ftcrfont.c index fc4e6dae873..0cbfd804109 100644 --- a/src/ftcrfont.c +++ b/src/ftcrfont.c | |||
| @@ -70,19 +70,6 @@ enum metrics_status | |||
| 70 | #define METRICS_SET_STATUS(metrics, status) \ | 70 | #define METRICS_SET_STATUS(metrics, status) \ |
| 71 | ((metrics)->ascent = 0, (metrics)->descent = (status)) | 71 | ((metrics)->ascent = 0, (metrics)->descent = (status)) |
| 72 | 72 | ||
| 73 | /* Prototypes for helper function. */ | ||
| 74 | static int ftcrfont_glyph_extents (struct font *, unsigned, | ||
| 75 | struct font_metrics *); | ||
| 76 | |||
| 77 | /* Prototypes for font-driver methods. */ | ||
| 78 | static Lisp_Object ftcrfont_list (struct frame*, Lisp_Object); | ||
| 79 | static Lisp_Object ftcrfont_match (struct frame*, Lisp_Object); | ||
| 80 | static Lisp_Object ftcrfont_open (struct frame*, Lisp_Object, int); | ||
| 81 | static void ftcrfont_close (struct font *); | ||
| 82 | static void ftcrfont_text_extents (struct font *, unsigned *, int, | ||
| 83 | struct font_metrics *); | ||
| 84 | static int ftcrfont_draw (struct glyph_string *, int, int, int, int, bool); | ||
| 85 | |||
| 86 | struct font_driver ftcrfont_driver; | 73 | struct font_driver ftcrfont_driver; |
| 87 | 74 | ||
| 88 | static int | 75 | static int |