瀏覽代碼

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 年之前
父節點
當前提交
2299435f1c
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/include/gpxe/in.h

+ 1
- 0
src/include/gpxe/in.h 查看文件

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

Loading…
取消
儲存