Mercurial > ecos
changeset 1628:2e1811d4f88c
* src/auth.c: Don't use non-eCos <paths.h>
* src/pppd.c: Don't use non-eCos <sys/wait.h> and <sys/resource.h>
* src/sys-ecos.c: netmask must be extern - not all tools have
COMMON section support.
| author | jlarmour |
|---|---|
| date | Thu, 06 May 2004 13:54:56 +0000 |
| parents | 1bf3513602bc |
| children | 2609240c9126 |
| files | packages/net/ppp/current/ChangeLog packages/net/ppp/current/src/auth.c packages/net/ppp/current/src/pppd.c packages/net/ppp/current/src/sys-ecos.c |
| diffstat | 4 files changed, 14 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/ppp/current/ChangeLog +++ b/packages/net/ppp/current/ChangeLog @@ -1,3 +1,10 @@ +2004-05-06 Jonathan Larmour <jifl@eCosCentric.com> + + * src/auth.c: Don't use non-eCos <paths.h> + * src/pppd.c: Don't use non-eCos <sys/wait.h> and <sys/resource.h> + * src/sys-ecos.c: netmask must be extern - not all tools have + COMMON section support. + 2004-04-15 Oyvind Harboe <oyvind.harboe@zylin.com> * src/chat.c: Script now returns success when it runs to completion
--- a/packages/net/ppp/current/src/auth.c +++ b/packages/net/ppp/current/src/auth.c @@ -90,7 +90,9 @@ #include <stdlib.h> #include <unistd.h> #include <cyg/ppp/syslog.h> +#ifndef __ECOS #include <paths.h> +#endif //#include <pwd.h> #include <string.h> #include <sys/types.h>
--- a/packages/net/ppp/current/src/pppd.c +++ b/packages/net/ppp/current/src/pppd.c @@ -82,9 +82,13 @@ #include <sys/param.h> #include <netdb.h> #include <sys/types.h> +#ifndef __ECOS #include <sys/wait.h> +#endif #include <sys/time.h> +#ifndef __ECOS #include <sys/resource.h> +#endif #include <sys/stat.h> #include <sys/socket.h>
--- a/packages/net/ppp/current/src/sys-ecos.c +++ b/packages/net/ppp/current/src/sys-ecos.c @@ -169,7 +169,7 @@ void cyg_ppp_serial_callback( cyg_serial CYG_ADDRWORD priv ); #endif -u_int32_t netmask; /* IP netmask to set on interface */ +extern u_int32_t netmask; /* IP netmask to set on interface */ //========================================================================== /*
