From: Darin Adler Date: Fri, 13 Jul 2001 23:58:49 +0000 (+0000) Subject: Add missing include. Add missing include X-Git-Tag: EA_1_0~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b30cdb4abb00417c091a88279dcc9e5e02d3908e;p=platform%2Fupstream%2Fatk.git Add missing include. Add missing include * atk/atkstate.c: Add missing include. * tests/teststateset.c: Add missing include --- diff --git a/ChangeLog b/ChangeLog index b7ae236..9c29a7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2001-07-13 Darin Adler + * atk/atkstate.c: Add missing include. + * tests/teststateset.c: Add missing include. + +2001-07-13 Darin Adler + * .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 + #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 -static gboolean test_state_set (); -static gboolean test_state (); +#include + +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;