http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a4a0244
)
Added prototype for inet_ntoa, even though we don't have the function
author
Michael Brown
<mcb30@etherboot.org>
Thu, 23 Mar 2006 21:34:25 +0000
(21:34 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 23 Mar 2006 21:34:25 +0000
(21:34 +0000)
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.
src/include/gpxe/in.h
patch
|
blob
|
history
diff --git
a/src/include/gpxe/in.h
b/src/include/gpxe/in.h
index
5ae6676
..
2581eda
100644
(file)
--- 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 */