Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/libhack Add an empty fmtcheck



details:   https://anonhg.NetBSD.org/src/rev/2aab31de4ca7
branches:  trunk
changeset: 452227:2aab31de4ca7
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 22 22:50:39 2019 +0000

description:
Add an empty fmtcheck

diffstat:

 distrib/utils/libhack/Makefile.inc |  4 ++--
 distrib/utils/libhack/fmtcheck.c   |  7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 10e9e95bf347 -r 2aab31de4ca7 distrib/utils/libhack/Makefile.inc
--- a/distrib/utils/libhack/Makefile.inc        Sat Jun 22 22:49:18 2019 +0000
+++ b/distrib/utils/libhack/Makefile.inc        Sat Jun 22 22:50:39 2019 +0000
@@ -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+=     -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 -r 10e9e95bf347 -r 2aab31de4ca7 distrib/utils/libhack/fmtcheck.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/utils/libhack/fmtcheck.c  Sat Jun 22 22:50:39 2019 +0000
@@ -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;
+}



Home | Main Index | Thread Index | Old Index