From: Paul Eggert Date: Thu, 14 Apr 2011 01:51:24 +0000 (-0700) Subject: * minibuf.c: Make symbols static if they're not exported. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~315 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1717ede2bb852dc687a07a27d3362619ba5085e9;p=emacs.git * minibuf.c: Make symbols static if they're not exported. (minibuf_save_list, choose_minibuf_frame): Now static. * lisp.h (choose_minibuf_frame): Remove decl. --- diff --git a/src/ChangeLog b/src/ChangeLog index cc73d0b4a49..685a30d21d7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2011-04-14 Paul Eggert + * minibuf.c: Make symbols static if they're not exported. + (minibuf_save_list, choose_minibuf_frame): Now static. + * lisp.h (choose_minibuf_frame): Remove decl. + * lisp.h (verify_bytepos, count_markers): Mark as externally visible. * lread.c: Make symbols static if they're not exported. diff --git a/src/lisp.h b/src/lisp.h index e9987efefe2..288f08e37ce 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -3050,7 +3050,6 @@ extern void clear_regexp_cache (void); extern Lisp_Object Qcompletion_ignore_case; extern Lisp_Object Vminibuffer_list; extern Lisp_Object last_minibuf_string; -extern void choose_minibuf_frame (void); EXFUN (Fcompleting_read, 8); EXFUN (Fread_from_minibuffer, 7); EXFUN (Fread_variable, 2); diff --git a/src/minibuf.c b/src/minibuf.c index ae4372746bc..3bcb0fca61c 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -45,7 +45,7 @@ Lisp_Object Vminibuffer_list; /* Data to remember during recursive minibuffer invocations */ -Lisp_Object minibuf_save_list; +static Lisp_Object minibuf_save_list; /* Depth in minibuffer invocations. */ @@ -97,7 +97,7 @@ static EMACS_INT minibuf_prompt_width; We do this whenever the user starts a new minibuffer or when a minibuffer exits. */ -void +static void choose_minibuf_frame (void) { if (FRAMEP (selected_frame)