Commit f14b7e14 authored by Paul Eggert's avatar Paul Eggert

* fileio.c (file_name_as_directory, directory_file_name):

(barf_or_query_if_file_exists, auto_save_error, auto_save_1):
Now static.
parent 62137a95
2011-03-15 Paul Eggert <eggert@cs.ucla.edu> 2011-03-15 Paul Eggert <eggert@cs.ucla.edu>
* fileio.c (file_name_as_directory, directory_file_name):
(barf_or_query_if_file_exists, auto_save_error, auto_save_1):
Now static.
* minibuf.c (choose_minibuf_frame_1): Now static. * minibuf.c (choose_minibuf_frame_1): Now static.
(Ftry_completion, Fall_completions): Rename or remove locals (Ftry_completion, Fall_completions): Rename or remove locals
to avoid shadowing. to avoid shadowing.
...@@ -433,7 +433,7 @@ get a current directory to run processes in. */) ...@@ -433,7 +433,7 @@ get a current directory to run processes in. */)
} }
char * static char *
file_name_as_directory (char *out, char *in) file_name_as_directory (char *out, char *in)
{ {
int size = strlen (in) - 1; int size = strlen (in) - 1;
...@@ -496,7 +496,7 @@ For a Unix-syntax file name, just appends a slash. */) ...@@ -496,7 +496,7 @@ For a Unix-syntax file name, just appends a slash. */)
* Value is nonzero if the string output is different from the input. * Value is nonzero if the string output is different from the input.
*/ */
int static int
directory_file_name (char *src, char *dst) directory_file_name (char *src, char *dst)
{ {
long slen; long slen;
...@@ -1734,7 +1734,7 @@ expand_and_dir_to_file (Lisp_Object filename, Lisp_Object defdir) ...@@ -1734,7 +1734,7 @@ expand_and_dir_to_file (Lisp_Object filename, Lisp_Object defdir)
If QUICK is nonzero, we ask for y or n, not yes or no. */ If QUICK is nonzero, we ask for y or n, not yes or no. */
void static void
barf_or_query_if_file_exists (Lisp_Object absname, const char *querystring, barf_or_query_if_file_exists (Lisp_Object absname, const char *querystring,
int interactive, struct stat *statptr, int quick) int interactive, struct stat *statptr, int quick)
{ {
...@@ -5059,7 +5059,7 @@ An argument specifies the modification time value to use ...@@ -5059,7 +5059,7 @@ An argument specifies the modification time value to use
return Qnil; return Qnil;
} }
Lisp_Object static Lisp_Object
auto_save_error (Lisp_Object error) auto_save_error (Lisp_Object error)
{ {
Lisp_Object args[3], msg; Lisp_Object args[3], msg;
...@@ -5095,7 +5095,7 @@ auto_save_error (Lisp_Object error) ...@@ -5095,7 +5095,7 @@ auto_save_error (Lisp_Object error)
return Qnil; return Qnil;
} }
Lisp_Object static Lisp_Object
auto_save_1 (void) auto_save_1 (void)
{ {
struct stat st; struct stat st;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment