Patch: __inet_aton prototype
jaeger@informatik.uni-kl.de
jaeger@informatik.uni-kl.de
Mon Apr 3 15:49:00 GMT 2000
With the current CVS version of glibc I get these new warnings:
inet_addr.c:83: warning: implicit declaration of function `__inet_aton'
inet_addr.c:97: warning: type mismatch with previous implicit declaration
inet_addr.c:83: warning: previous implicit declaration of `__inet_aton'
inet_addr.c:97: warning: `__inet_aton'was previously implicitly declared to return ìnt'
A patch is appended.
Andreas
2000-04-03 Andreas Jaeger <aj@suse.de>
* include/arpa/inet.h (__inet_aton): Add protoype.
============================================================
Index: include/arpa/inet.h
--- include/arpa/inet.h 1997/06/21 01:19:08 1.1
+++ include/arpa/inet.h 2000/04/03 22:43:28
@@ -1 +1,3 @@
#include <inet/arpa/inet.h>
+
+extern in_addr_t __inet_aton (__const char *__cp, struct in_addr *__inp);
--
Andreas Jaeger
SuSE Labs aj@suse.de
More information about the Libc-hacker
mailing list