diff options
author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-06-20 07:36:22 +0000 |
---|---|---|
committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-06-20 07:36:22 +0000 |
commit | d2979f5673919fa2350a21d132d145e6cc68145f (patch) | |
tree | 05e6b213b8d4b5d6e2072ff7173af6d82a133da1 /usr.bin/who | |
parent | e8aef1d3b5bab81b8f9a9630763557b149c88ec9 (diff) |
Style: put static qualifier on definition of static functions.
Notes
Notes:
svn path=/head/; revision=98483
Diffstat (limited to 'usr.bin/who')
-rw-r--r-- | usr.bin/who/who.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c index 24f4aad720f9..000cc21de12a 100644 --- a/usr.bin/who/who.c +++ b/usr.bin/who/who.c @@ -132,7 +132,7 @@ main(int argc, char *argv[]) exit(0); } -void +static void usage(void) { @@ -140,7 +140,7 @@ usage(void) exit(1); } -void +static void heading(void) { @@ -155,7 +155,7 @@ heading(void) putchar('\n'); } -void +static void row(struct utmp *ut) { char buf[80], tty[sizeof(_PATH_DEV) + UT_LINESIZE]; @@ -201,7 +201,7 @@ row(struct utmp *ut) putchar('\n'); } -void +static void process_utmp(FILE *fp) { struct utmp ut; @@ -211,7 +211,7 @@ process_utmp(FILE *fp) row(&ut); } -void +static void quick(FILE *fp) { struct utmp ut; @@ -237,7 +237,7 @@ quick(FILE *fp) printf("# users = %d\n", num); } -void +static void whoami(FILE *fp) { struct utmp ut; @@ -269,7 +269,7 @@ whoami(FILE *fp) row(&ut); } -int +static int ttywidth(void) { struct winsize ws; |