diff options
author | Jim Meyering <jim@meyering.net> | 1992-11-01 03:30:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-11-01 03:30:09 +0000 |
commit | 144b82c6c22abaa2a3247dc33b286662a7aa90d9 (patch) | |
tree | bbd19ca5dd38607ced11823281da205091b645d4 /src/install.c | |
parent | cdb20814d2dbd70ac952285ebe01372f513849fd (diff) | |
download | coreutils-144b82c6c22abaa2a3247dc33b286662a7aa90d9.tar.xz |
Give most file-scope variables the static attribute.
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/install.c b/src/install.c index 473ea6d39..881038c41 100644 --- a/src/install.c +++ b/src/install.c @@ -102,29 +102,29 @@ char *program_name; /* The user name that will own the files, or NULL to make the owner the current user ID. */ -char *owner_name; +static char *owner_name; /* The user ID corresponding to `owner_name'. */ -uid_t owner_id; +static uid_t owner_id; /* The group name that will own the files, or NULL to make the group the current group ID. */ -char *group_name; +static char *group_name; /* The group ID corresponding to `group_name'. */ -gid_t group_id; +static gid_t group_id; /* The permissions to which the files will be set. The umask has no effect. */ -int mode; +static int mode; /* If nonzero, strip executable files after copying them. */ -int strip_files; +static int strip_files; /* If nonzero, install a directory instead of a regular file. */ -int dir_arg; +static int dir_arg; -struct option long_options[] = +static struct option long_options[] = { {"strip", 0, NULL, 's'}, {"directory", 0, NULL, 'd'}, |