summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 04:26:55 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 04:26:55 +0000
commit0cd26f001ae1f0abe31da6250706e9cff9cc2c68 (patch)
treec66ac09f5ba61e323b5d870e41e80bae4182ca4a /lib/libc
parent8c6e2102df01fe5b81b9cca9852f1b9bf36dff0c (diff)
downloadFreeBSD-src-0cd26f001ae1f0abe31da6250706e9cff9cc2c68.zip
FreeBSD-src-0cd26f001ae1f0abe31da6250706e9cff9cc2c68.tar.gz
Add declarations to eliminate -Wmissing-prototypes warnings
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/resolv/h_errno.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/resolv/h_errno.c b/lib/libc/resolv/h_errno.c
index 88d15ae..8ced708 100644
--- a/lib/libc/resolv/h_errno.c
+++ b/lib/libc/resolv/h_errno.c
@@ -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)
{
OpenPOWER on IntegriCloud