Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 04:17:03 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288013 - head/lib/libc/net
Message-ID:  <201509200417.t8K4H3Oc076640@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509200417.t8K4H3Oc076640>