summaryrefslogtreecommitdiff
path: root/src/ftcrfont.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-05-23 09:01:40 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-05-23 09:02:04 -0700
commit2219134940a18ba7a3cafa07382f4767bb511fa9 (patch)
treeaa1597efcf27f23c6cfe9739ba218ffb1f1fd331 /src/ftcrfont.c
parent78c9b2e847d14d56569d9e5aae8e0784c7f40844 (diff)
downloademacs-2219134940a18ba7a3cafa07382f4767bb511fa9.tar.gz
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.c13
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
#define METRICS_SET_STATUS(metrics, status) \
((metrics)->ascent = 0, (metrics)->descent = (status))
-/* Prototypes for helper function. */
-static int ftcrfont_glyph_extents (struct font *, unsigned,
- struct font_metrics *);
-
-/* Prototypes for font-driver methods. */
-static Lisp_Object ftcrfont_list (struct frame*, Lisp_Object);
-static Lisp_Object ftcrfont_match (struct frame*, Lisp_Object);
-static Lisp_Object ftcrfont_open (struct frame*, Lisp_Object, int);
-static void ftcrfont_close (struct font *);
-static void ftcrfont_text_extents (struct font *, unsigned *, int,
- struct font_metrics *);
-static int ftcrfont_draw (struct glyph_string *, int, int, int, int, bool);
-
struct font_driver ftcrfont_driver;
static int