summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd/faithd.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 11:05:34 +0000
committered <ed@FreeBSD.org>2010-01-02 11:05:34 +0000
commitec19ea84b8117fa04d9e5cf9d8945e0bacc2596e (patch)
tree6af957c7a5ebcb33410c42b9f932f4bb50d4645e /usr.sbin/faithd/faithd.c
parent9b380e30d4e06cf0243e311871dc27cfa4a6354a (diff)
downloadFreeBSD-src-ec19ea84b8117fa04d9e5cf9d8945e0bacc2596e.zip
FreeBSD-src-ec19ea84b8117fa04d9e5cf9d8945e0bacc2596e.tar.gz
ANSIfy some more tools in usr.sbin/.
Most of these tools build with WARNS=6, except for their use of K&R function declarations.
Diffstat (limited to 'usr.sbin/faithd/faithd.c')
-rw-r--r--usr.sbin/faithd/faithd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c
index f192fbd..9caf0e9 100644
--- a/usr.sbin/faithd/faithd.c
+++ b/usr.sbin/faithd/faithd.c
@@ -791,7 +791,7 @@ exit_success(const char *fmt, ...)
#ifdef USE_ROUTE
static void
-grab_myaddrs()
+grab_myaddrs(void)
{
struct ifaddrs *ifap, *ifa;
struct myaddrs *p;
@@ -847,7 +847,7 @@ grab_myaddrs()
}
static void
-free_myaddrs()
+free_myaddrs(void)
{
struct myaddrs *p, *q;
@@ -861,7 +861,7 @@ free_myaddrs()
}
static void
-update_myaddrs()
+update_myaddrs(void)
{
char msg[BUFSIZ];
int len;
@@ -900,7 +900,7 @@ update_myaddrs()
#endif /*USE_ROUTE*/
static void
-usage()
+usage(void)
{
fprintf(stderr, "usage: %s [-dp] [-f conf] service [serverpath [serverargs]]\n",
faithdname);
OpenPOWER on IntegriCloud