This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
make syntheth compatible with lwip
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Thu, 13 Feb 2003 22:18:39 +0000 (GMT)
- Subject: make syntheth compatible with lwip
2003-02-13 Bart Veer <bartv@ecoscentric.com>
* src/syntheth.c, cdl/syntheth.cdl: add dependency on errno.h for
error codes, and avoid memset() warning
Index: syntheth.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/synth/ecosynth/current/src/syntheth.c,v
retrieving revision 1.1
diff -u -u -r1.1 syntheth.c
--- syntheth.c 15 Sep 2002 17:49:35 -0000 1.1
+++ syntheth.c 13 Feb 2003 22:18:48 -0000
@@ -54,6 +54,8 @@
#include <cyg/hal/hal_arch.h>
#include <cyg/infra/diag.h>
#include <cyg/hal/drv_api.h>
+#include <errno.h>
+#include <string.h>
#define __ECOS 1
#include <sys/types.h>
Index: syntheth.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/synth/ecosynth/current/cdl/syntheth.cdl,v
retrieving revision 1.2
diff -u -u -r1.2 syntheth.cdl
--- syntheth.cdl 12 Feb 2003 11:16:08 -0000 1.2
+++ syntheth.cdl 13 Feb 2003 22:05:13 -0000
@@ -114,6 +114,7 @@
active_if { CYGVAR_DEVS_ETH_ECOSYNTH_ETH0 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH1 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH2 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH3 }
flavor none
compile -library=libextras.a syntheth.c
+ requires CYGINT_ISO_ERRNO_CODES CYGINT_ISO_STRING_MEMFUNCS
description "
Package-specific build options including control over compiler
flags used only in building this package."