diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 08:19:07 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 08:19:07 +0000 |
commit | 89e56ab1b3f74dc37fd3eb2cd975a23c633dd7e9 (patch) | |
tree | 93bf0e5b7953a641fb3464af1871ab84271b6f42 /usr.bin | |
parent | bc3df37206e507a293485bd8601700998e17f65d (diff) | |
download | FreeBSD-src-89e56ab1b3f74dc37fd3eb2cd975a23c633dd7e9.zip FreeBSD-src-89e56ab1b3f74dc37fd3eb2cd975a23c633dd7e9.tar.gz |
Add missing static keywords to xinstall(1)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/xinstall/xinstall.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index b1a565c..a920f85 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -73,13 +73,14 @@ __FBSDID("$FreeBSD$"); #define NOCHANGEBITS (UF_IMMUTABLE | UF_APPEND | SF_IMMUTABLE | SF_APPEND) #define BACKUP_SUFFIX ".old" -struct passwd *pp; -struct group *gp; -gid_t gid; -uid_t uid; -int dobackup, docompare, dodir, dopreserve, dostrip, nommap, safecopy, verbose; -mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; -const char *suffix = BACKUP_SUFFIX; +static struct passwd *pp; +static struct group *gp; +static gid_t gid; +static uid_t uid; +static int dobackup, docompare, dodir, dopreserve, dostrip, nommap, safecopy, + verbose; +static mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; +static const char *suffix = BACKUP_SUFFIX; static int compare(int, const char *, size_t, int, const char *, size_t); static void copy(int, const char *, int, const char *, off_t); |