This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: net/common compile error fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]