summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>2017-04-17 11:13:56 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-04-17 11:14:40 -0700
commitb8e0d203febffe7446cbc5e0ee7d9bf168854a88 (patch)
tree0153527e4755520b628d8d5fbc9101409f2e144f /src
parent932698b7891668318ba9ca93375d8d27d52a07f5 (diff)
downloademacs-b8e0d203febffe7446cbc5e0ee7d9bf168854a88.tar.gz
* src/xterm.c (x_fill_rectangle): Now static.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
-rw-r--r--src/xterm.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 51692921708..3de1ffea900 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -714,7 +714,7 @@ x_reset_clip_rectangles (struct frame *f, GC gc)
#endif
}
-void
+static void
x_fill_rectangle (struct frame *f, GC gc, int x, int y, int width, int height)
{
#ifdef USE_CAIRO
diff --git a/src/xterm.h b/src/xterm.h
index 3122a2b208c..a75257006fd 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1102,7 +1102,6 @@ extern bool x_alloc_lighter_color_for_widget (Widget, Display *, Colormap,
extern bool x_alloc_nearest_color (struct frame *, Colormap, XColor *);
extern void x_query_color (struct frame *f, XColor *);
extern void x_clear_area (struct frame *f, int, int, int, int);
-extern void x_fill_rectangle (struct frame *f, GC, int, int, int, int);
#if !defined USE_X_TOOLKIT && !defined USE_GTK
extern void x_mouse_leave (struct x_display_info *);
#endif