diff options
author | imp <imp@FreeBSD.org> | 2002-02-07 23:57:01 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-07 23:57:01 +0000 |
commit | c963f1d00273d3cea8a89288017919b46b7374e3 (patch) | |
tree | ec514bcba5b68b3cc1a0c1e6821e5f92d0c6bf2d /libexec/rbootd/parseconf.c | |
parent | 4289b50433ef09f1bfa03246de59392ffe6bb601 (diff) | |
download | FreeBSD-src-c963f1d00273d3cea8a89288017919b46b7374e3.zip FreeBSD-src-c963f1d00273d3cea8a89288017919b46b7374e3.tar.gz |
o __P removal
o register removal
o use new style prototypes and function definitions
Diffstat (limited to 'libexec/rbootd/parseconf.c')
-rw-r--r-- | libexec/rbootd/parseconf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/rbootd/parseconf.c b/libexec/rbootd/parseconf.c index bd2f2e1..2eb33e0 100644 --- a/libexec/rbootd/parseconf.c +++ b/libexec/rbootd/parseconf.c @@ -83,7 +83,7 @@ static const char rcsid[] = ** to create a linked list of default boot files. */ int -ParseConfig() +ParseConfig(void) { FILE *fp; CLIENT *client; @@ -248,8 +248,7 @@ ParseConfig() ** be copied if it's to be saved. */ u_int8_t * -ParseAddr(str) - char *str; +ParseAddr(char *str) { static u_int8_t addr[RMP_ADDRLEN]; char *cp; @@ -312,7 +311,7 @@ ParseAddr(str) ** called to re-order it's list of boot file pointers. */ int -GetBootFiles() +GetBootFiles(void) { DIR *dfd; struct stat statb; |