aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ac/ac.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 18:31:16 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 18:31:16 +0000
commitd89167b4ea3fc14eaa1fb11a9d08b3381653f36e (patch)
tree71dd463b16fbb724acc1af2cd4770e75c282f7dc /usr.sbin/ac/ac.c
parent729cce84031c71e3d4a4c2b8245b22c6723fc85c (diff)
downloadsrc-d89167b4ea3fc14eaa1fb11a9d08b3381653f36e.tar.gz
src-d89167b4ea3fc14eaa1fb11a9d08b3381653f36e.zip
de-__P()
Notes
Notes: svn path=/head/; revision=99800
Diffstat (limited to 'usr.sbin/ac/ac.c')
-rw-r--r--usr.sbin/ac/ac.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c
index 322865adb21f..ea76a35ae0f3 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 __P((int, char **));
-int ac __P((FILE *));
-struct tty_list *add_tty __P((char *));
-int do_tty __P((char *));
-FILE *file __P((const char *));
-struct utmp_list *log_in __P((struct utmp_list *, struct utmp *));
-struct utmp_list *log_out __P((struct utmp_list *, struct utmp *));
-int on_console __P((struct utmp_list *));
-void show __P((const char *, time_t));
-void show_today __P((struct user_list *, struct utmp_list *,
+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 __P((struct user_list *));
-struct user_list *update_user __P((struct user_list *, char *, time_t));
-void usage __P((void));
+void show_users(struct user_list *);
+struct user_list *update_user(struct user_list *, char *, time_t);
+void usage(void);
/*
* open wtmp or die