Mercurial > flash_v2
changeset 1667:dc5f9783d45a
* include/network.h: Added a __THROW to perror so that it matches
what is in stdio.h. Problem pointed out by Xyvid Harboe.
| author | asl |
|---|---|
| date | Tue, 08 Jun 2004 17:58:20 +0000 |
| parents | ac397049b1b7 |
| children | 320a73933e7d |
| files | packages/net/common/current/ChangeLog packages/net/common/current/include/network.h |
| diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/common/current/ChangeLog +++ b/packages/net/common/current/ChangeLog @@ -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):
--- a/packages/net/common/current/include/network.h +++ b/packages/net/common/current/include/network.h @@ -1,3 +1,4 @@ + //========================================================================== // // include/network.h @@ -69,7 +70,7 @@ extern const char *eth1_name; __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);
