diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2011-10-31 08:59:17 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2011-10-31 08:59:17 +0000 |
| commit | f9d4afb439cc2c97183694169663cf6ae10c628e (patch) | |
| tree | b068d06018284af5aa8b3feab9edb06109d847bc /bin/ln | |
| parent | d883a297a18d964d7a89ba42ce548ddf255ab0c8 (diff) | |
Notes
Diffstat (limited to 'bin/ln')
| -rw-r--r-- | bin/ln/ln.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/ln/ln.c b/bin/ln/ln.c index e5fdeee072db..4169e6229c98 100644 --- a/bin/ln/ln.c +++ b/bin/ln/ln.c @@ -54,16 +54,16 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <unistd.h> -int fflag; /* Unlink existing files. */ -int Fflag; /* Remove empty directories also. */ -int hflag; /* Check new name for symlink first. */ -int iflag; /* Interactive mode. */ -int Pflag; /* Create hard links to symlinks. */ -int sflag; /* Symbolic, not hard, link. */ -int vflag; /* Verbose output. */ -int wflag; /* Warn if symlink target does not +static int fflag; /* Unlink existing files. */ +static int Fflag; /* Remove empty directories also. */ +static int hflag; /* Check new name for symlink first. */ +static int iflag; /* Interactive mode. */ +static int Pflag; /* Create hard links to symlinks. */ +static int sflag; /* Symbolic, not hard, link. */ +static int vflag; /* Verbose output. */ +static int wflag; /* Warn if symlink target does not * exist, and -f is not enabled. */ -char linkch; +static char linkch; int linkit(const char *, const char *, int); void usage(void); |
