svn commit: r288013 - head/lib/libc/net
Craig Rodrigues
rodrigc at FreeBSD.org
Sun Sep 20 04:17:04 UTC 2015
Author: rodrigc
Date: Sun Sep 20 04:17:03 2015
New Revision: 288013
URL: https://svnweb.freebsd.org/changeset/base/288013
Log:
Define _NS_PRIVATE to make declarations visible.
This eliminates -Wmissing-prototypes warnings.
Modified:
head/lib/libc/net/nscache.c
Modified: head/lib/libc/net/nscache.c
==============================================================================
--- head/lib/libc/net/nscache.c Sun Sep 20 04:15:37 2015 (r288012)
+++ head/lib/libc/net/nscache.c Sun Sep 20 04:17:03 2015 (r288013)
@@ -29,6 +29,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
+#define _NS_PRIVATE
#include <nsswitch.h>
#include <stdlib.h>
#include <string.h>
More information about the svn-src-head
mailing list