summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/hastd/primary.c4
-rw-r--r--sbin/hastd/secondary.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c
index 6f0995b..0b2402a 100644
--- a/sbin/hastd/primary.c
+++ b/sbin/hastd/primary.c
@@ -258,7 +258,7 @@ cleanup(struct hast_resource *res)
errno = rerrno;
}
-static void
+static __dead2 void
primary_exit(int exitcode, const char *fmt, ...)
{
va_list ap;
@@ -271,7 +271,7 @@ primary_exit(int exitcode, const char *fmt, ...)
exit(exitcode);
}
-static void
+static __dead2 void
primary_exitx(int exitcode, const char *fmt, ...)
{
va_list ap;
diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c
index fa898ec..6f56239 100644
--- a/sbin/hastd/secondary.c
+++ b/sbin/hastd/secondary.c
@@ -519,7 +519,7 @@ end:
return (hio->hio_error);
}
-static void
+static __dead2 void
secondary_exit(int exitcode, const char *fmt, ...)
{
va_list ap;
OpenPOWER on IntegriCloud