diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | atk/atkstate.c | 2 | ||||
-rw-r--r-- | tests/teststateset.c | 10 |
3 files changed, 13 insertions, 4 deletions
@@ -1,5 +1,10 @@ 2001-07-13 Darin Adler <darin@bentspoon.com> + * atk/atkstate.c: Add missing <string.h> include. + * tests/teststateset.c: Add missing <string.h> include. + +2001-07-13 Darin Adler <darin@bentspoon.com> + * .cvsignore: Ignore some generated files. * autogen.sh: Get rid of call to autoheader since the configure file doesn't include AM_CONFIG_HEADER. diff --git a/atk/atkstate.c b/atk/atkstate.c index 2e2d608..44dea90 100755 --- a/atk/atkstate.c +++ b/atk/atkstate.c @@ -19,6 +19,8 @@ #include "atkstate.h" +#include <string.h> + #define NUM_POSSIBLE_STATES (sizeof(AtkState)*8) static gchar* state_names[NUM_POSSIBLE_STATES] = { diff --git a/tests/teststateset.c b/tests/teststateset.c index 7132d29..05718b7 100644 --- a/tests/teststateset.c +++ b/tests/teststateset.c @@ -19,11 +19,13 @@ #include <atk/atk.h> -static gboolean test_state_set (); -static gboolean test_state (); +#include <string.h> + +static gboolean test_state_set (void); +static gboolean test_state (void); static gboolean -test_state_set () +test_state_set (void) { AtkStateSet *state_set1, *state_set2, *state_set3; AtkStateType state_array[3]; @@ -203,7 +205,7 @@ test_state_set () } static gboolean -test_state () +test_state (void) { AtkStateType type1, type2; G_CONST_RETURN gchar *name; |