aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 22:18:26 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 22:18:26 +0000
commit54b60d7e1528658e03c9abd5d1984f7ebd1af70b (patch)
treeb98223ad44f2a1a5654bb18f163e529faeee221a
parent78dee2638a0dc7d5972e8aaba99bdf3136ac6e15 (diff)
downloadsrc-54b60d7e1528658e03c9abd5d1984f7ebd1af70b.tar.gz
src-54b60d7e1528658e03c9abd5d1984f7ebd1af70b.zip
Fix indentation broken in previous __P removal.
Grumbled about by: bde
Notes
Notes: svn path=/head/; revision=99831
-rw-r--r--usr.sbin/ac/Makefile2
-rw-r--r--usr.sbin/ac/ac.c28
2 files changed, 15 insertions, 15 deletions
diff --git a/usr.sbin/ac/Makefile b/usr.sbin/ac/Makefile
index 1d34fe22d6c4..0960c2f95ce6 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 ea76a35ae0f3..9af73f5c8f91 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