mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
StdLib/BsdSocketLib: Fix function declaration mismatch with definition.
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.cran@gmail.com> Reviewed-by: Daryl McDaniel <daryl.mcdaniel@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16467 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b8ff0f16d9
commit
2aa580be65
@ -55,7 +55,8 @@ static char sccsid[] = "@(#)ns_addr.c 8.1 (Berkeley) 6/7/93";
|
|||||||
|
|
||||||
static struct ns_addr addr, zero_addr;
|
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
|
struct ns_addr
|
||||||
ns_addr(
|
ns_addr(
|
||||||
|
@ -39,7 +39,7 @@ static char sccsid[] = "@(#)ns_ntoa.c 8.1 (Berkeley) 6/4/93";
|
|||||||
#include <netns/ns.h>
|
#include <netns/ns.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
static char *spectHex();
|
static char *spectHex(char *p0);
|
||||||
|
|
||||||
char *
|
char *
|
||||||
ns_ntoa(
|
ns_ntoa(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user