summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makemap
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-08-06 23:01:49 +0000
committerjb <jb@FreeBSD.org>1998-08-06 23:01:49 +0000
commitcf87bd045cafe9d7015d858a8902363d9444f6b0 (patch)
treeb85fe155e291b8198167bae92881838c695b7067 /usr.sbin/makemap
parentec4dc9550e180509f05a84dba8f7d0f654e6de13 (diff)
downloadFreeBSD-src-cf87bd045cafe9d7015d858a8902363d9444f6b0.zip
FreeBSD-src-cf87bd045cafe9d7015d858a8902363d9444f6b0.tar.gz
Add snprintf.c to SRCS so that the function quad_to_string exists. The
snprintf function itself is still #ifdef'd out by conf.h. This allows this program to link when compiled without optimization. With optimization, the call to quad_to_string gets removed by the compiler. Unfortunately the linker still links in the quad_to_string function even though it isn't called. 8-(
Diffstat (limited to 'usr.sbin/makemap')
-rw-r--r--usr.sbin/makemap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/makemap/Makefile b/usr.sbin/makemap/Makefile
index b087822..735e285 100644
--- a/usr.sbin/makemap/Makefile
+++ b/usr.sbin/makemap/Makefile
@@ -1,7 +1,7 @@
# @(#)Makefile 8.4 (Berkeley) 6/10/97
PROG= makemap
-SRCS= makemap.c safefile.c #snprintf.c
+SRCS= makemap.c safefile.c snprintf.c
MAN8= makemap.8
CFLAGS+=-I${.CURDIR}/../../contrib/sendmail/src -DNEWDB -DNOT_SENDMAIL
OpenPOWER on IntegriCloud