diff options
author | Xin LI <delphij@FreeBSD.org> | 2011-07-14 07:28:49 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2011-07-14 07:28:49 +0000 |
commit | 07de1c52db553e50adfefcd2dbe8ce6a8894b622 (patch) | |
tree | a0732efc2864f257f424325fcf737bef98ce8faa /usr.sbin/rpcbind/rpcbind.c | |
parent | eff1a1bc13fc0e86674247dc323001c4220cc554 (diff) | |
download | src-07de1c52db553e50adfefcd2dbe8ce6a8894b622.tar.gz src-07de1c52db553e50adfefcd2dbe8ce6a8894b622.zip |
Use prototype. While I'm there, add a pair of parenthesis to mark an if
statment's border.
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=224001
Diffstat (limited to 'usr.sbin/rpcbind/rpcbind.c')
-rw-r--r-- | usr.sbin/rpcbind/rpcbind.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.c b/usr.sbin/rpcbind/rpcbind.c index 5a76a68f1f32..dff0b08993c8 100644 --- a/usr.sbin/rpcbind/rpcbind.c +++ b/usr.sbin/rpcbind/rpcbind.c @@ -178,12 +178,13 @@ main(int argc, char *argv[]) init_transport(nconf); while ((nconf = getnetconfig(nc_handle))) { - if (nconf->nc_flag & NC_VISIBLE) + if (nconf->nc_flag & NC_VISIBLE) { if (ipv6_only == 1 && strcmp(nconf->nc_protofmly, "inet") == 0) { /* DO NOTHING */ } else init_transport(nconf); + } } endnetconfig(nc_handle); @@ -766,7 +767,7 @@ terminate(int dummy __unused) } void -rpcbind_abort() +rpcbind_abort(void) { #ifdef WARMSTART write_warmstart(); /* Dump yourself */ |