This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: __inet_aton prototype



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]