Bladeren bron

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 jaren geleden
bovenliggende
commit
2299435f1c
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1
    0
      src/include/gpxe/in.h

+ 1
- 0
src/include/gpxe/in.h Bestand weergeven

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

Laden…
Annuleren
Opslaan