Mercurial > ecos
diff packages/redboot/current/include/net/net.h @ 184:022f1e506033
Merge from eCos master repository on 2001-10-02-17:59:22-BST
| author | jlarmour |
|---|---|
| date | Tue, 02 Oct 2001 18:28:24 +0000 |
| parents | f62680ef1804 |
| children | 678094f34118 |
line wrap: on
line diff
--- a/packages/redboot/current/include/net/net.h +++ b/packages/redboot/current/include/net/net.h @@ -49,6 +49,7 @@ #include <pkgconf/redboot.h> #include <cyg/hal/hal_arch.h> #include <cyg/hal/basetype.h> +#include <string.h> extern bool net_debug; @@ -567,7 +568,7 @@ extern void net_init(void); extern void net_io_test(bool is_idle); // Conversion between IP addresses and printable strings -extern bool inet_aton(char *, in_addr_t *); +extern bool inet_aton(const char *, in_addr_t *); extern char *inet_ntoa(in_addr_t *); // FIXME
