summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/pppstats/pppstats.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pppd/pppstats/pppstats.c')
-rw-r--r--usr.sbin/pppd/pppstats/pppstats.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/usr.sbin/pppd/pppstats/pppstats.c b/usr.sbin/pppd/pppstats/pppstats.c
index a606caf129a..90d71f542ee 100644
--- a/usr.sbin/pppd/pppstats/pppstats.c
+++ b/usr.sbin/pppd/pppstats/pppstats.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppstats.c,v 1.12 2015/02/09 23:00:14 deraadt Exp $ */
+/* $OpenBSD: pppstats.c,v 1.13 2024/08/09 05:16:15 deraadt Exp $ */
/*
* print PPP statistics:
@@ -97,15 +97,13 @@ usage()
* Sets a flag to not wait for the alarm.
*/
void
-catchalarm(arg)
- int arg;
+catchalarm(int arg)
{
signalled = 1;
}
void
-get_ppp_stats(curp)
- struct ppp_stats *curp;
+get_ppp_stats(struct ppp_stats *curp)
{
struct ifpppstatsreq req;
@@ -122,8 +120,7 @@ get_ppp_stats(curp)
}
void
-get_ppp_cstats(csp)
- struct ppp_comp_stats *csp;
+get_ppp_cstats(struct ppp_comp_stats *csp)
{
struct ifpppcstatsreq creq;
@@ -306,9 +303,7 @@ intpr()
}
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
int c;
struct ifreq ifr;