mirror of https://github.com/ipxe/ipxe.git
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.pull/1/head
parent
a4a0244aa3
commit
2299435f1c
|
@ -29,5 +29,6 @@ struct sockaddr_in {
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int inet_aton ( const char *cp, struct in_addr *inp );
|
extern int inet_aton ( const char *cp, struct in_addr *inp );
|
||||||
|
extern char * inet_ntoa ( struct in_addr in );
|
||||||
|
|
||||||
#endif /* _IN_H */
|
#endif /* _IN_H */
|
||||||
|
|
Loading…
Reference in New Issue