svn commit: r288018 - head/lib/libc/resolv

Craig Rodrigues rodrigc at FreeBSD.org
Sun Sep 20 04:26:56 UTC 2015


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)
 {


More information about the svn-src-all mailing list