net/common compile error fix
Andrew Lunn
andrew@lunn.ch
Tue Jun 8 17:57:00 GMT 2004
After a bit of offline discussion we came up with:
Index: net/common/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/common/current/ChangeLog,v
retrieving revision 1.62
diff -u -r1.62 ChangeLog
--- net/common/current/ChangeLog 13 May 2004 10:00:35 -0000 1.62
+++ net/common/current/ChangeLog 8 Jun 2004 17:56:30 -0000
@@ -1,3 +1,8 @@
+2004-06-08 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * include/network.h: Added a __THROW to perror so that it matches
+ what is in stdio.h. Problem pointed out by Ãyvid Harboe.
+
2004-05-04 Jay Foster <jay.foster@systech.com>
* src/bootp_support.c (get_bootp_option, show_bootp):
Index: net/common/current/include/network.h
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/common/current/include/network.h,v
retrieving revision 1.3
diff -u -r1.3 network.h
--- net/common/current/include/network.h 23 Apr 2003 08:52:08 -0000 1.3
+++ net/common/current/include/network.h 8 Jun 2004 17:56:31 -0000
@@ -1,3 +1,4 @@
+
//==========================================================================
//
// include/network.h
@@ -69,7 +70,7 @@
__externC void init_all_network_interfaces(void);
__externC void cyg_route_reinit(void);
-__externC void perror(const char *);
+__externC void perror(const char *) __THROW;
__externC int close(int);
__externC ssize_t read(int, void *, size_t);
__externC ssize_t write(int, const void *, size_t);
Andrew
More information about the Ecos-patches
mailing list