aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bootparamd
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
committerKevin Lo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
commit784bddbc5bca158d2fb57eed7c5e4ceebd49ff8b (patch)
tree368b0b244e9ff1e4d1d1e563ee72dc5168999272 /usr.sbin/bootparamd
parent96e460ec534f08eb10f4399f79381ae333de9e3c (diff)
downloadsrc-784bddbc5bca158d2fb57eed7c5e4ceebd49ff8b.tar.gz
src-784bddbc5bca158d2fb57eed7c5e4ceebd49ff8b.zip
Cleanup of userland __P use
Notes
Notes: svn path=/head/; revision=173412
Diffstat (limited to 'usr.sbin/bootparamd')
-rw-r--r--usr.sbin/bootparamd/bootparamd/bootparamd.c4
-rw-r--r--usr.sbin/bootparamd/bootparamd/main.c2
-rw-r--r--usr.sbin/bootparamd/callbootd/callbootd.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/bootparamd.c b/usr.sbin/bootparamd/bootparamd/bootparamd.c
index 238686bcdc1d..205b6c74c280 100644
--- a/usr.sbin/bootparamd/bootparamd/bootparamd.c
+++ b/usr.sbin/bootparamd/bootparamd/bootparamd.c
@@ -40,8 +40,8 @@ static char askname[MAX_MACHINE_NAME];
static char path[MAX_PATH_LEN];
static char domain_name[MAX_MACHINE_NAME];
-int getthefile __P((char *, char *, char *, int));
-int checkhost __P((char *, char *, int));
+int getthefile(char *, char *, char *, int);
+int checkhost(char *, char *, int);
bp_whoami_res *
bootparamproc_whoami_1_svc(whoami, req)
diff --git a/usr.sbin/bootparamd/bootparamd/main.c b/usr.sbin/bootparamd/bootparamd/main.c
index 4468232e63a0..edd78edd203b 100644
--- a/usr.sbin/bootparamd/bootparamd/main.c
+++ b/usr.sbin/bootparamd/bootparamd/main.c
@@ -37,7 +37,7 @@ struct sockaddr_in my_addr;
char *bootpfile = "/etc/bootparams";
extern void bootparamprog_1();
-static void usage __P((void));
+static void usage(void);
int
main(argc, argv)
diff --git a/usr.sbin/bootparamd/callbootd/callbootd.c b/usr.sbin/bootparamd/callbootd/callbootd.c
index 5ed460857b54..4ec16df37428 100644
--- a/usr.sbin/bootparamd/callbootd/callbootd.c
+++ b/usr.sbin/bootparamd/callbootd/callbootd.c
@@ -33,9 +33,9 @@ char cln[MAX_MACHINE_NAME+1];
char dmn[MAX_MACHINE_NAME+1];
char path[MAX_PATH_LEN+1];
extern char *inet_ntoa();
-static void usage __P((void));
-int printgetfile __P((bp_getfile_res *));
-int printwhoami __P((bp_whoami_res *));
+static void usage(void);
+int printgetfile(bp_getfile_res *);
+int printwhoami(bp_whoami_res *);
bool_t
eachres_whoami(resultp, raddr)