From: Paul Eggert Date: Sun, 14 Aug 2011 05:28:42 +0000 (-0700) Subject: * xfaces.c (Qframe_set_background_mode): Now static. X-Git-Tag: emacs-pretest-24.0.90~104^2~124^2~60 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19d5c50cbb7d65bfed9e76ccf1c22bada0662f38;p=emacs.git * xfaces.c (Qframe_set_background_mode): Now static. * dispextern.h (Qframe_set_background_mode): Remove decl. --- 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. */