From 144b82c6c22abaa2a3247dc33b286662a7aa90d9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 1 Nov 1992 03:30:09 +0000 Subject: Give most file-scope variables the static attribute. --- src/ln.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/ln.c') diff --git a/src/ln.c b/src/ln.c index 781a55d8b..d80d0cede 100644 --- a/src/ln.c +++ b/src/ln.c @@ -42,27 +42,27 @@ void usage (); /* A pointer to the function used to make links. This will point to either `link' or `symlink'. */ -int (*linkfunc) (); +static int (*linkfunc) (); /* If nonzero, make symbolic links; otherwise, make hard links. */ -int symbolic_link; +static int symbolic_link; /* If nonzero, ask the user before removing existing files. */ -int interactive; +static int interactive; /* If nonzero, remove existing files unconditionally. */ -int remove_existing_files; +static int remove_existing_files; /* If nonzero, list each file as it is moved. */ -int verbose; +static int verbose; /* If nonzero, allow the superuser to make hard links to directories. */ -int hard_dir_link; +static int hard_dir_link; /* The name by which the program was run, for error messages. */ char *program_name; -struct option long_options[] = +static struct option long_options[] = { {"backup", 0, NULL, 'b'}, {"directory", 0, &hard_dir_link, 1}, -- cgit v1.2.3-70-g09d2