diff options
author | 2016-12-18 01:34:51 +0000 | |
---|---|---|
committer | 2016-12-18 01:34:51 +0000 | |
commit | bbd2633af484e00bfb4b6416bd71f10c8f6cc3fb (patch) | |
tree | 2596a8d827b331a156bcbba3e5e9326455b75c42 /lib/libc | |
parent | Import of OpenBSD/arm64 (diff) | |
download | wireguard-openbsd-bbd2633af484e00bfb4b6416bd71f10c8f6cc3fb.tar.xz wireguard-openbsd-bbd2633af484e00bfb4b6416bd71f10c8f6cc3fb.zip |
Remove prototype for static function _asr_resolver. Eliminates gcc
whining about undefined static in all the .c files that include
asr_private.h. _asr_resolver() is defined and used in asr.c only.
ok kettenis@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/asr/asr_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/asr/asr_private.h b/lib/libc/asr/asr_private.h index a8b152f602c..832e59cb39b 100644 --- a/lib/libc/asr/asr_private.h +++ b/lib/libc/asr/asr_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asr_private.h,v 1.39 2016/08/20 19:08:57 jca Exp $ */ +/* $OpenBSD: asr_private.h,v 1.40 2016/12/18 01:34:51 krw Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -310,7 +310,6 @@ ssize_t _asr_dname_from_fqdn(const char *, char *, size_t); ssize_t _asr_addr_as_fqdn(const char *, int, char *, size_t); /* asr.c */ -static void *_asr_resolver(void); void _asr_resolver_done(void *); struct asr_ctx *_asr_use_resolver(void *); struct asr_ctx *_asr_no_resolver(void); |