From: Lei Xia Date: Wed, 13 Aug 2008 20:12:18 +0000 (+0000) Subject: updated header files for link errors X-Git-Tag: vmmhack1-ramdisk-boot-iso-puppy~2 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=86c94f9d9d98acdd2f057a35ce97f571742a4ecf updated header files for link errors --- diff --git a/palacios/include/uip/resolv.h b/palacios/include/uip/resolv.h index 96d5096..b8e9004 100644 --- a/palacios/include/uip/resolv.h +++ b/palacios/include/uip/resolv.h @@ -38,7 +38,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: resolv.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $ + * $Id: resolv.h,v 1.3 2008/08/13 20:12:18 andrewlxia Exp $ * */ #ifndef __RESOLV_H__ @@ -63,9 +63,7 @@ void resolv_appcall(void); * ipaddr A pointer to a 4-byte array containing the IP address of the * hostname, or NULL if the hostname could not be found. */ -void resolv_found(char *name, u16_t *ipaddr) -{ -} +void resolv_found(char *name, u16_t *ipaddr); /* Functions. */ void resolv_conf(u16_t *dnsserver); diff --git a/palacios/include/uip/uip-conf.h b/palacios/include/uip/uip-conf.h index a0fc082..17a5d5e 100644 --- a/palacios/include/uip/uip-conf.h +++ b/palacios/include/uip/uip-conf.h @@ -42,7 +42,7 @@ * * This file is part of the uIP TCP/IP stack * - * $Id: uip-conf.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $ + * $Id: uip-conf.h,v 1.3 2008/08/13 20:12:18 andrewlxia Exp $ */ /** @@ -56,12 +56,9 @@ #define __UIP_CONF_H__ -int uip_appcall(void){ +extern int appcall(void); - return 0; -} - -#define UIP_APPCALL uip_appcall //application function +#define UIP_APPCALL appcall //application function //#define UIP_UDP_APPCALL uip_appcall diff --git a/palacios/include/uip/uipopt.h b/palacios/include/uip/uipopt.h index 5acdefd..26411f6 100644 --- a/palacios/include/uip/uipopt.h +++ b/palacios/include/uip/uipopt.h @@ -53,7 +53,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: uipopt.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $ + * $Id: uipopt.h,v 1.3 2008/08/13 20:12:18 andrewlxia Exp $ * */ @@ -431,7 +431,7 @@ * This function must be implemented by the module that uses uIP, and * is called by uIP whenever a log message is generated. */ -void uip_log(char *msg); +extern void uip_log(char *msg); //you should replace this by your own log function /** * The link level header length.