diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-15 02:16:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-15 02:16:36 +0000 |
commit | 71cc1cfb9633f4f21cbd7bed2a5e298466155cf4 (patch) | |
tree | f5c77da016f1ca4dc8af3a594d3905f3a4878138 /usr.sbin | |
parent | e1f9f519d90e79938fea03cd7854c9ca9c49cce1 (diff) |
specifying int instead of just unsigned is better style
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 4 | ||||
-rw-r--r-- | usr.sbin/dvmrpctl/dvmrpctl.c | 4 | ||||
-rw-r--r-- | usr.sbin/ospf6ctl/ospf6ctl.c | 4 | ||||
-rw-r--r-- | usr.sbin/ospfctl/ospfctl.c | 4 | ||||
-rw-r--r-- | usr.sbin/ripctl/ripctl.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index a674e50c8b9..c19df54bf06 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.127 2007/09/11 17:08:49 henning Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.128 2007/10/15 02:16:35 deraadt Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -724,7 +724,7 @@ fmt_timeframe_core(time_t t) char *buf; static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ static int idx = 0; - unsigned sec, min, hrs, day, week; + unsigned int sec, min, hrs, day, week; buf = tfbuf[idx++]; if (idx == TF_BUFS) diff --git a/usr.sbin/dvmrpctl/dvmrpctl.c b/usr.sbin/dvmrpctl/dvmrpctl.c index 415a0f080b5..f9929e5d423 100644 --- a/usr.sbin/dvmrpctl/dvmrpctl.c +++ b/usr.sbin/dvmrpctl/dvmrpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dvmrpctl.c,v 1.3 2007/05/30 02:21:08 henning Exp $ */ +/* $OpenBSD: dvmrpctl.c,v 1.4 2007/10/15 02:16:35 deraadt Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -444,7 +444,7 @@ fmt_timeframe_core(time_t t) char *buf; static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ static int idx = 0; - unsigned sec, min, hrs, day, week; + unsigned int sec, min, hrs, day, week; if (t == 0) return ("Stopped"); diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c index 84d963ddc61..b282da8e014 100644 --- a/usr.sbin/ospf6ctl/ospf6ctl.c +++ b/usr.sbin/ospf6ctl/ospf6ctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6ctl.c,v 1.4 2007/10/14 01:28:06 deraadt Exp $ */ +/* $OpenBSD: ospf6ctl.c,v 1.5 2007/10/15 02:16:35 deraadt Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -457,7 +457,7 @@ fmt_timeframe_core(time_t t) char *buf; static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ static int idx = 0; - unsigned sec, min, hrs, day, week; + unsigned int sec, min, hrs, day, week; if (t == 0) return ("00:00:00"); diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c index c4850b60147..00f20546508 100644 --- a/usr.sbin/ospfctl/ospfctl.c +++ b/usr.sbin/ospfctl/ospfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfctl.c,v 1.40 2007/10/14 01:28:08 deraadt Exp $ */ +/* $OpenBSD: ospfctl.c,v 1.41 2007/10/15 02:16:35 deraadt Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -478,7 +478,7 @@ fmt_timeframe_core(time_t t) char *buf; static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ static int idx = 0; - unsigned sec, min, hrs, day, week; + unsigned int sec, min, hrs, day, week; if (t == 0) return ("00:00:00"); diff --git a/usr.sbin/ripctl/ripctl.c b/usr.sbin/ripctl/ripctl.c index 3172ac96515..baad35f6597 100644 --- a/usr.sbin/ripctl/ripctl.c +++ b/usr.sbin/ripctl/ripctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ripctl.c,v 1.4 2007/09/11 17:29:05 henning Exp $ +/* $OpenBSD: ripctl.c,v 1.5 2007/10/15 02:16:35 deraadt Exp $ * * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -239,7 +239,7 @@ fmt_timeframe_core(time_t t) char *buf; static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ static int idx = 0; - unsigned sec, min, hrs, day, week; + unsigned int sec, min, hrs, day, week; if (t == 0) return ("Stopped"); |