aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bootparamd
diff options
context:
space:
mode:
authorAlfonso Gregory <gfunni234@gmail.com>2023-07-07 16:39:23 +0000
committerWarner Losh <imp@FreeBSD.org>2023-07-07 16:45:18 +0000
commit72e1ea2f13619f3bd299348f281815a6669f3775 (patch)
tree2070c276154548fb82d673b20d44e06d8f710a4b /usr.sbin/bootparamd
parentcccdaf507eee8fb34494b4624eb85bb951e323c8 (diff)
downloadsrc-72e1ea2f13619f3bd299348f281815a6669f3775.tar.gz
src-72e1ea2f13619f3bd299348f281815a6669f3775.zip
Diffstat (limited to 'usr.sbin/bootparamd')
-rw-r--r--usr.sbin/bootparamd/bootparamd/main.c2
-rw-r--r--usr.sbin/bootparamd/callbootd/callbootd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/main.c b/usr.sbin/bootparamd/bootparamd/main.c
index 95b49f8f39a0..578bb2605be6 100644
--- a/usr.sbin/bootparamd/bootparamd/main.c
+++ b/usr.sbin/bootparamd/bootparamd/main.c
@@ -39,7 +39,7 @@ const char *bootpfile = "/etc/bootparams";
static struct sockaddr_in my_addr;
-static void usage(void);
+static void usage(void) __dead2;
int
main(int argc, char **argv)
diff --git a/usr.sbin/bootparamd/callbootd/callbootd.c b/usr.sbin/bootparamd/callbootd/callbootd.c
index ea1432c3140a..0a0980bd4aa0 100644
--- a/usr.sbin/bootparamd/callbootd/callbootd.c
+++ b/usr.sbin/bootparamd/callbootd/callbootd.c
@@ -30,7 +30,7 @@ static char cln[MAX_MACHINE_NAME+1];
static char dmn[MAX_MACHINE_NAME+1];
static char path[MAX_PATH_LEN+1];
-static void usage(void);
+static void usage(void) __dead2;
int printgetfile(bp_getfile_res *);
int printwhoami(bp_whoami_res *);