From 19d5c50cbb7d65bfed9e76ccf1c22bada0662f38 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 13 Aug 2011 22:28:42 -0700 Subject: [PATCH] * xfaces.c (Qframe_set_background_mode): Now static. * dispextern.h (Qframe_set_background_mode): Remove decl. --- src/ChangeLog | 3 +++ src/dispextern.h | 1 - src/xfaces.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 0f77f9af8c1..1e18ffd5d6b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-08-14 Paul Eggert + * xfaces.c (Qframe_set_background_mode): Now static. + * dispextern.h (Qframe_set_background_mode): Remove decl. + * process.c (Fnetwork_interface_info): Declare local only if needed. 2011-08-13 Jan Djärv diff --git a/src/dispextern.h b/src/dispextern.h index ea4b11baa74..9bd43c5255b 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -3202,7 +3202,6 @@ int merge_faces (struct frame *, Lisp_Object, EMACS_INT, int); int compute_char_face (struct frame *, int, Lisp_Object); void free_all_realized_faces (Lisp_Object); extern Lisp_Object Qforeground_color, Qbackground_color; -extern Lisp_Object Qframe_set_background_mode; extern char unspecified_fg[], unspecified_bg[]; /* Defined in xfns.c */ diff --git a/src/xfaces.c b/src/xfaces.c index 52b125b42e6..063cb1b11c2 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -339,7 +339,7 @@ char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg"; /* The name of the function to call when the background of the frame has changed, frame_set_background_mode. */ -Lisp_Object Qframe_set_background_mode; +static Lisp_Object Qframe_set_background_mode; /* Names of basic faces. */ -- 2.39.2