Mercurial > nand-ecoscentric
changeset 235:f9db7cb0692e
Pedantic include of <errno.h>
| author | gthomas |
|---|---|
| date | Wed, 10 Jul 2002 15:26:27 +0000 |
| parents | d397603b9e4b |
| children | e7500517b4b4 |
| files | packages/net/common/current/ChangeLog packages/net/common/current/src/bootp_support.c packages/net/common/current/src/dhcp_prot.c packages/net/common/current/src/getproto.c packages/net/common/current/src/inet_addr.c |
| diffstat | 5 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/common/current/ChangeLog +++ b/packages/net/common/current/ChangeLog @@ -1,3 +1,10 @@ +2002-07-10 Gary Thomas <gary@chez-thomas.org> + + * src/inet_addr.c: + * src/getproto.c: + * src/dhcp_prot.c: + * src/bootp_support.c: Pedantic - make sure "errno" is defined. + 2002-07-04 Jonathan Larmour <jlarmour@redhat.com> * src/dhcp_prot.c (_dhcp_copy): Remove. Unnecessary as we can never
--- a/packages/net/common/current/src/bootp_support.c +++ b/packages/net/common/current/src/bootp_support.c @@ -36,6 +36,7 @@ #include <pkgconf/isoinfra.h> #include <network.h> +#include <errno.h> #ifdef CYGPKG_NET_FREEBSD_STACK // New layout #include <net/if_var.h> #include <netinet/in_var.h>
--- a/packages/net/common/current/src/dhcp_prot.c +++ b/packages/net/common/current/src/dhcp_prot.c @@ -38,6 +38,7 @@ #include <network.h> #include <dhcp.h> +#include <errno.h> #include <cyg/infra/cyg_ass.h>
--- a/packages/net/common/current/src/getproto.c +++ b/packages/net/common/current/src/getproto.c @@ -31,6 +31,7 @@ #include <sys/param.h> #include <netdb.h> +#include <errno.h> static struct protoent protocols[] = { { "ip", 0}, // internet protocol, pseudo protocol number
--- a/packages/net/common/current/src/inet_addr.c +++ b/packages/net/common/current/src/inet_addr.c @@ -105,7 +105,7 @@ static char rcsid[] = "$OpenBSD: inet_ad #include <sys/param.h> #include <sys/socket.h> #include <sys/ioctl.h> -#include <sys/errno.h> +#include <errno.h> #include <net/if.h> #include <netinet/in.h>
