From 2299435f1ca6dcebff138fcc8976efe888ea9aaa Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 23 Mar 2006 21:34:25 +0000 Subject: [PATCH] Added prototype for inet_ntoa, even though we don't have the function 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/gpxe/in.h b/src/include/gpxe/in.h index 5ae66769..2581eda5 100644 --- a/src/include/gpxe/in.h +++ b/src/include/gpxe/in.h @@ -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 */