Przeglądaj źródła

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 lat temu
rodzic
commit
2299435f1c
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      src/include/gpxe/in.h

+ 1
- 0
src/include/gpxe/in.h Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz