summaryrefslogtreecommitdiff
path: root/libexec/rbootd/parseconf.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-07 23:57:01 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-07 23:57:01 +0000
commit266ebcd3916b719e0db6ef693a21d19d48b071fe (patch)
treeec514bcba5b68b3cc1a0c1e6821e5f92d0c6bf2d /libexec/rbootd/parseconf.c
parent2b8a08af6bf26e11cd7ce362b5aad0519b32541c (diff)
Notes
Diffstat (limited to 'libexec/rbootd/parseconf.c')
-rw-r--r--libexec/rbootd/parseconf.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/rbootd/parseconf.c b/libexec/rbootd/parseconf.c
index bd2f2e1c2f3e..2eb33e0a370e 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;