Please review the attached StdLib patch.
Replace the existing old-style function declarations for Field, cvtbase
and spectHex in BsdSocketLib with real prototypes. This allows StdLib
to build using the GCC48 toolchain.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bruce Cran <bruce.c...@gmail.com>
Thanks.
Bruce Cran
Index: StdLib/BsdSocketLib/ns_addr.c
===================================================================
--- StdLib/BsdSocketLib/ns_addr.c (revision 16455)
+++ StdLib/BsdSocketLib/ns_addr.c (working copy)
@@ -55,7 +55,10 @@
static struct ns_addr addr, zero_addr;
-static void Field(), cvtbase();
+static void Field(char *buf, u_char *out, int len);
+static void
+cvtbase(long oldbase, int newbase, int input[], int inlen,
+ unsigned char result[], int reslen);
struct ns_addr
ns_addr(
Index: StdLib/BsdSocketLib/ns_ntoa.c
===================================================================
--- StdLib/BsdSocketLib/ns_ntoa.c (revision 16455)
+++ StdLib/BsdSocketLib/ns_ntoa.c (working copy)
@@ -39,7 +39,7 @@
#include <netns/ns.h>
#include <stdio.h>
-static char *spectHex();
+static char *spectHex(char *p0);
char *
ns_ntoa(
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel