aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chkey
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-02-26 21:43:15 +0000
committerEd Schouten <ed@FreeBSD.org>2009-02-26 21:43:15 +0000
commitb3aaa0cc21c63d388230c7ef2a80abd631ff20d5 (patch)
tree5b0afd074d7bb26b1e443eb2abbda20979f70b42 /usr.bin/chkey
parent69328334a6c7118506ce7c7b4ab153e0b79b8fda (diff)
downloadsrc-b3aaa0cc21c63d388230c7ef2a80abd631ff20d5.tar.gz
src-b3aaa0cc21c63d388230c7ef2a80abd631ff20d5.zip
Rename all symbols in libmp(3) to mp_*, just like Solaris.
The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
Notes
Notes: svn path=/head/; revision=189092
Diffstat (limited to 'usr.bin/chkey')
-rw-r--r--usr.bin/chkey/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/chkey/Makefile b/usr.bin/chkey/Makefile
index 847e5c960106..2813ca1a45f0 100644
--- a/usr.bin/chkey/Makefile
+++ b/usr.bin/chkey/Makefile
@@ -13,4 +13,6 @@ CFLAGS+= -DYP
DPADD= ${LIBRPCSVC} ${LIBMP} ${LIBCRYPTO}
LDADD= -lrpcsvc -lmp -lcrypto
+WARNS?= 6
+
.include <bsd.prog.mk>