summaryrefslogtreecommitdiffstats
path: root/lib/libutil/stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/stub.c')
-rw-r--r--lib/libutil/stub.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/stub.c b/lib/libutil/stub.c
index ef19276..ec78a35 100644
--- a/lib/libutil/stub.c
+++ b/lib/libutil/stub.c
@@ -29,14 +29,16 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
/*
* Stub out what's in -lcrypt.
*/
#pragma weak crypt_set_format
+/* ARGSUSED */
int
-crypt_set_format(const char *f) {
+crypt_set_format(const char *f __unused) {
if (getenv("CRYPT_DEBUG") != NULL)
fprintf(stderr, "crypt_set_format: eek, stub called!\n");
OpenPOWER on IntegriCloud