From d2979f5673919fa2350a21d132d145e6cc68145f Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Thu, 20 Jun 2002 07:36:22 +0000 Subject: [PATCH] Style: put static qualifier on definition of static functions. --- usr.bin/who/who.c | 14 +++++++------- 1 file 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;