diff options
| author | Michael Brown | 2006-03-23 22:34:25 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-03-23 22:34:25 +0100 |
| commit | 2299435f1ca6dcebff138fcc8976efe888ea9aaa (patch) | |
| tree | ad1eb3054bd0f6c279802482a22e095c016c0cd9 /src | |
| parent | Moved uIP wrapper out of prototester.c and into proto/tcp.c. (diff) | |
| download | ipxe-2299435f1ca6dcebff138fcc8976efe888ea9aaa.tar.gz ipxe-2299435f1ca6dcebff138fcc8976efe888ea9aaa.tar.xz ipxe-2299435f1ca6dcebff138fcc8976efe888ea9aaa.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/gpxe/in.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gpxe/in.h b/src/include/gpxe/in.h index 5ae66769f..2581eda5d 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 */ |
