aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2015-09-20 04:26:55 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2015-09-20 04:26:55 +0000
commit25462e6589bbe9f71686bcd7a67bb596b7915eec (patch)
treec66ac09f5ba61e323b5d870e41e80bae4182ca4a /lib/libc
parent193d994d2df3ea3134e05212d64570d677c34ef0 (diff)
downloadsrc-25462e6589bbe9f71686bcd7a67bb596b7915eec.tar.gz
src-25462e6589bbe9f71686bcd7a67bb596b7915eec.zip
Add declarations to eliminate -Wmissing-prototypes warnings
Notes
Notes: svn path=/head/; revision=288018
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 88d15aee7f9c..8ced7081ddff 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)
{