Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 04:26:56 +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: r288018 - head/lib/libc/resolv
Message-ID:  <201509200426.t8K4QuKw081018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigc
Date: Sun Sep 20 04:26:55 2015
New Revision: 288018
URL: https://svnweb.freebsd.org/changeset/base/288018

Log:
  Add declarations to eliminate -Wmissing-prototypes warnings

Modified:
  head/lib/libc/resolv/h_errno.c

Modified: head/lib/libc/resolv/h_errno.c
==============================================================================
--- head/lib/libc/resolv/h_errno.c	Sun Sep 20 04:23:16 2015	(r288017)
+++ head/lib/libc/resolv/h_errno.c	Sun Sep 20 04:26:55 2015	(r288018)
@@ -33,6 +33,9 @@
 #undef	h_errno
 extern int h_errno;
 
+int *__h_errno(void);
+void __h_errno_set(res_state res, int err);
+
 int *
 __h_errno(void)
 {



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