summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-06 08:15:48 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-06 08:15:48 +0000
commit20a9b7ee4ee28215b064c16a9bb6fd1194332281 (patch)
tree97fd80d5e4512e73d51bdab639ab27ba116c9efe /usr.bin
parent7f3271b68c6e0108e7d892158201248a63c6ce28 (diff)
downloadsrc-test2-20a9b7ee4ee28215b064c16a9bb6fd1194332281.tar.gz
src-test2-20a9b7ee4ee28215b064c16a9bb6fd1194332281.zip
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lock/lock.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/lock/lock.c b/usr.bin/lock/lock.c
index b8d0111a7610..2f261714835f 100644
--- a/usr.bin/lock/lock.c
+++ b/usr.bin/lock/lock.c
@@ -72,17 +72,17 @@ __FBSDID("$FreeBSD$");
#define TIMEOUT 15
-void quit(int);
-void bye(int);
-void hi(int);
+static void quit(int);
+static void bye(int);
+static void hi(int);
static void usage(void);
-struct timeval timeout;
-struct timeval zerotime;
-struct termios tty, ntty;
-long nexttime; /* keep the timeout time */
-int no_timeout; /* lock terminal forever */
-int vtyunlock; /* Unlock flag and code. */
+static struct timeval timeout;
+static struct timeval zerotime;
+static struct termios tty, ntty;
+static long nexttime; /* keep the timeout time */
+static int no_timeout; /* lock terminal forever */
+static int vtyunlock; /* Unlock flag and code. */
/*ARGSUSED*/
int
@@ -252,7 +252,7 @@ usage(void)
exit(1);
}
-void
+static void
hi(int signo __unused)
{
struct timeval timval;
@@ -269,7 +269,7 @@ hi(int signo __unused)
}
}
-void
+static void
quit(int signo __unused)
{
(void)putchar('\n');
@@ -279,7 +279,7 @@ quit(int signo __unused)
exit(0);
}
-void
+static void
bye(int signo __unused)
{
if (!no_timeout) {