diff options
author | alfred <alfred@FreeBSD.org> | 2002-07-11 22:18:26 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-07-11 22:18:26 +0000 |
commit | d828b6f6eea270a5172e2b18cb05f33957dfb759 (patch) | |
tree | b98223ad44f2a1a5654bb18f163e529faeee221a /usr.sbin/ac | |
parent | 30b152864c0ce8638b7e7d22b837cc1838029dbd (diff) | |
download | FreeBSD-src-d828b6f6eea270a5172e2b18cb05f33957dfb759.zip FreeBSD-src-d828b6f6eea270a5172e2b18cb05f33957dfb759.tar.gz |
Fix indentation broken in previous __P removal.
Grumbled about by: bde
Diffstat (limited to 'usr.sbin/ac')
-rw-r--r-- | usr.sbin/ac/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/ac/ac.c | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/usr.sbin/ac/Makefile b/usr.sbin/ac/Makefile index 1d34fe2..0960c2f 100644 --- a/usr.sbin/ac/Makefile +++ b/usr.sbin/ac/Makefile @@ -3,7 +3,7 @@ PROG= ac MAN= ac.8 -WARNS?= 2 +WARNS?= 4 # If "CONSOLE_TTY" is not defined, this program is compatible with the # traditional implementation (using SunOS 4.x as the sample traditional diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c index ea76a35..9af73f5 100644 --- a/usr.sbin/ac/ac.c +++ b/usr.sbin/ac/ac.c @@ -84,20 +84,20 @@ static struct tty_list *Ttys = NULL; static int Debug = 0; #endif -int main(int, char **); -int ac(FILE *); -struct tty_list *add_tty(char *); -int do_tty(char *); -FILE *file(const char *); -struct utmp_list *log_in(struct utmp_list *, struct utmp *); -struct utmp_list *log_out(struct utmp_list *, struct utmp *); -int on_console(struct utmp_list *); -void show(const char *, time_t); -void show_today __P((struct user_list *, struct utmp_list *, - time_t)); -void show_users(struct user_list *); -struct user_list *update_user(struct user_list *, char *, time_t); -void usage(void); +int main(int, char **); +int ac(FILE *); +struct tty_list *add_tty(char *); +int do_tty(char *); +FILE *file(const char *); +struct utmp_list *log_in(struct utmp_list *, struct utmp *); +struct utmp_list *log_out(struct utmp_list *, struct utmp *); +int on_console(struct utmp_list *); +void show(const char *, time_t); +void show_today(struct user_list *, struct utmp_list *, + time_t); +void show_users(struct user_list *); +struct user_list *update_user(struct user_list *, char *, time_t); +void usage(void); /* * open wtmp or die |