# HG changeset patch # User asl # Date 1143371706 0 # Node ID fa277d078e9699ed408980b67a1dda618a6f5d59 # Parent 6087f9ab81ecff9c4cf81d6c393647077be1dec0 * tests/nc_test_framework.h: * tests/nc_test_master.c: Fix the compiler warnings when building for Linux. diff --git a/packages/net/common/current/ChangeLog b/packages/net/common/current/ChangeLog --- a/packages/net/common/current/ChangeLog +++ b/packages/net/common/current/ChangeLog @@ -1,3 +1,9 @@ +2006-03-26 Andrew Lunn + + * tests/nc_test_framework.h: + * tests/nc_test_master.c: Fix the compiler warnings when + building for Linux. + 2006-02-27 Jay Foster * src/dhcp_prot.c: Updated set_fixed_tag(), set_variable_tag(), diff --git a/packages/net/common/current/tests/nc_test_framework.h b/packages/net/common/current/tests/nc_test_framework.h --- a/packages/net/common/current/tests/nc_test_framework.h +++ b/packages/net/common/current/tests/nc_test_framework.h @@ -47,6 +47,7 @@ #include #include #include +#include #include #ifndef EAI_NONE @@ -58,6 +59,7 @@ #define test_printf diag_printf typedef cyg_addrword_t test_param_t; #else +#include #define test_printf printf typedef void *test_param_t; #endif diff --git a/packages/net/common/current/tests/nc_test_master.c b/packages/net/common/current/tests/nc_test_master.c --- a/packages/net/common/current/tests/nc_test_master.c +++ b/packages/net/common/current/tests/nc_test_master.c @@ -66,6 +66,7 @@ struct pause { extern void cyg_test_exit(void); #else +#include void cyg_test_exit(void) {