Module Name: src
Committed By: christos
Date: Sat Jun 22 22:50:39 UTC 2019
Modified Files:
src/distrib/utils/libhack: Makefile.inc
Added Files:
src/distrib/utils/libhack: fmtcheck.c
Log Message:
Add an empty fmtcheck
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/distrib/utils/libhack/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/distrib/utils/libhack/fmtcheck.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/libhack/Makefile.inc
diff -u src/distrib/utils/libhack/Makefile.inc:1.29 src/distrib/utils/libhack/Makefile.inc:1.30
--- src/distrib/utils/libhack/Makefile.inc:1.29 Thu May 9 04:20:35 2019
+++ src/distrib/utils/libhack/Makefile.inc Sat Jun 22 18:50:39 2019
@@ -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
Added files:
Index: src/distrib/utils/libhack/fmtcheck.c
diff -u /dev/null src/distrib/utils/libhack/fmtcheck.c:1.1
--- /dev/null Sat Jun 22 18:50:39 2019
+++ src/distrib/utils/libhack/fmtcheck.c Sat Jun 22 18:50:39 2019
@@ -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;
+}