Style: put static qualifier on definition of static functions.

This commit is contained in:
Tim J. Robbins 2002-06-20 07:36:22 +00:00
parent e8aef1d3b5
commit d2979f5673
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98483

View File

@ -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;