Browse Source

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.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
2299435f1c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/include/gpxe/in.h

+ 1
- 0
src/include/gpxe/in.h View File

@@ -29,5 +29,6 @@ struct sockaddr_in {
29 29
 };
30 30
 
31 31
 extern int inet_aton ( const char *cp, struct in_addr *inp );
32
+extern char * inet_ntoa ( struct in_addr in );
32 33
 
33 34
 #endif	/* _IN_H */

Loading…
Cancel
Save