diff options
author | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
commit | 110fc843a0e59e68be1a9d8d1a4bb0bcb152872b (patch) | |
tree | 486abf1f9f616d966d1546114ba2c7eb29bb7839 /lib/libc/net | |
parent | 0e618921c14332b422b10cbd97a3431372f9eec1 (diff) | |
download | FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.zip FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.tar.gz |
Mark some functions as __printflike() and/or taking const char * arguments
instead of char *.
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/gethostbydns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c index 4a56655..a113640 100644 --- a/lib/libc/net/gethostbydns.c +++ b/lib/libc/net/gethostbydns.c @@ -98,6 +98,10 @@ static u_char host_addr[16]; /* IPv4 or IPv6 */ static void addrsort __P((char **, int)); #endif +#ifdef DEBUG +static void dprintf(char *, int) __printflike(1, 0); +#endif + #if PACKETSZ > 1024 #define MAXPACKET PACKETSZ #else |