diff options
author | ume <ume@FreeBSD.org> | 2004-01-14 17:16:19 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-01-14 17:16:19 +0000 |
commit | ab3e3db491512f6183cc555d21572b96c642da08 (patch) | |
tree | 7eb3b420811ad3f6e8b3865d91da9105817f7c92 /usr.sbin/rtsold/rtsol.c | |
parent | ae8f515ebbe93c614c0b23bfca5f64abcff29955 (diff) | |
download | FreeBSD-src-ab3e3db491512f6183cc555d21572b96c642da08.zip FreeBSD-src-ab3e3db491512f6183cc555d21572b96c642da08.tar.gz |
ansify.
Obtained from: KAME
Diffstat (limited to 'usr.sbin/rtsold/rtsol.c')
-rw-r--r-- | usr.sbin/rtsold/rtsol.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/rtsold/rtsol.c b/usr.sbin/rtsold/rtsol.c index 4605016..dd9f4a1 100644 --- a/usr.sbin/rtsold/rtsol.c +++ b/usr.sbin/rtsold/rtsol.c @@ -1,4 +1,4 @@ -/* $KAME: rtsol.c,v 1.26 2003/05/27 06:48:27 jinmei Exp $ */ +/* $KAME: rtsol.c,v 1.27 2003/10/05 00:09:36 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -79,7 +79,7 @@ static void call_script __P((char *, char *)); static int safefile __P((const char *)); int -sockopen() +sockopen(void) { static u_char *rcvcmsgbuf = NULL, *sndcmsgbuf = NULL; int sndcmsglen, on; @@ -369,8 +369,7 @@ rtsol_input(int s) } static void -call_script(scriptpath, ifname) - char *scriptpath, *ifname; +call_script(char *scriptpath, char *ifname) { pid_t pid, wpid; @@ -431,8 +430,7 @@ call_script(scriptpath, ifname) } static int -safefile(path) - const char *path; +safefile(const char *path) { struct stat s; uid_t myuid; |