Bläddra i källkod

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 år sedan
förälder
incheckning
2299435f1c
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      src/include/gpxe/in.h

+ 1
- 0
src/include/gpxe/in.h Visa fil

@@ -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 */

Laddar…
Avbryt
Spara