]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Added prototype for inet_ntoa, even though we don't have the function
authorMichael Brown <mcb30@etherboot.org>
Thu, 23 Mar 2006 21:34:25 +0000 (21:34 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 23 Mar 2006 21:34:25 +0000 (21:34 +0000)
yet, in order to allow prototester.c to compile.  It might be worth
changing all the uses of "%@" in printf to use "%s" and inet_ntoa
instead, in order to improve the portability of our code.

src/include/gpxe/in.h

index 5ae66769f265917cbd53e93f3870ff46085ed8af..2581eda5d3c1617583bf369c1200214b23f55de2 100644 (file)
@@ -29,5 +29,6 @@ struct sockaddr_in {
 };
 
 extern int inet_aton ( const char *cp, struct in_addr *inp );
+extern char * inet_ntoa ( struct in_addr in );
 
 #endif /* _IN_H */