summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 04:17:03 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 04:17:03 +0000
commitfd3fe449bf2c62b6d6b48da4a79a96a3de2a4e38 (patch)
tree971086ceef035e295123b1d53ba675ef5cef13ff /lib/libc
parent587e2d1829e97e387ee88d2a8d47dd6905f702dc (diff)
downloadFreeBSD-src-fd3fe449bf2c62b6d6b48da4a79a96a3de2a4e38.zip
FreeBSD-src-fd3fe449bf2c62b6d6b48da4a79a96a3de2a4e38.tar.gz
Define _NS_PRIVATE to make declarations visible.
This eliminates -Wmissing-prototypes warnings.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/nscache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/nscache.c b/lib/libc/net/nscache.c
index 68cec21..88a115b 100644
--- a/lib/libc/net/nscache.c
+++ b/lib/libc/net/nscache.c
@@ -29,6 +29,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
+#define _NS_PRIVATE
#include <nsswitch.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud