summaryrefslogtreecommitdiff
path: root/distrib/utils/libhack
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2019-06-22 22:50:39 +0000
committerchristos <christos@NetBSD.org>2019-06-22 22:50:39 +0000
commit308bc77137a79bf0c96cae1f258ac0a0ac261230 (patch)
treec7fda5483d1434087c20e59d85b3e858dcae038b /distrib/utils/libhack
parentcd00af7509926762ca102a2150d79d6267a43034 (diff)
Add an empty fmtcheck
Diffstat (limited to 'distrib/utils/libhack')
-rw-r--r--distrib/utils/libhack/Makefile.inc4
-rw-r--r--distrib/utils/libhack/fmtcheck.c7
2 files changed, 9 insertions, 2 deletions
diff --git a/distrib/utils/libhack/Makefile.inc b/distrib/utils/libhack/Makefile.inc
index 0c62c5b9d3e..19c5d92de06 100644
--- a/distrib/utils/libhack/Makefile.inc
+++ b/distrib/utils/libhack/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.29 2019/05/09 08:20:35 roy Exp $
+# $NetBSD: Makefile.inc,v 1.30 2019/06/22 22:50:39 christos Exp $
#
# Include this fragment to build libhack.o
# It is .o and not .a to make sure these are the
@@ -22,7 +22,7 @@ CPPFLAGS+= -DSMALL
CPPFLAGS+= -DLIBHACK
HACKOBJS+= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o jemalloc.o \
localeconv.o multibyte.o perror.o runetable.o setlocale.o \
- strerror.o strsignal.o syslog.o utmp.o
+ strerror.o strsignal.o syslog.o utmp.o fmtcheck.o
.if (${USE_YP} != "no")
HACKOBJS+= yplib.o
diff --git a/distrib/utils/libhack/fmtcheck.c b/distrib/utils/libhack/fmtcheck.c
new file mode 100644
index 00000000000..d8940828910
--- /dev/null
+++ b/distrib/utils/libhack/fmtcheck.c
@@ -0,0 +1,7 @@
+/* $NetBSD: fmtcheck.c,v 1.1 2019/06/22 22:50:39 christos Exp $ */
+#include <stdio.h>
+const char *
+fmtcheck(const char *a, const char *b)
+{
+ return a;
+}