Add missing <string.h> include. Add missing <string.h> include
authorDarin Adler <darin@src.gnome.org>
Fri, 13 Jul 2001 23:58:49 +0000 (23:58 +0000)
committerDarin Adler <darin@src.gnome.org>
Fri, 13 Jul 2001 23:58:49 +0000 (23:58 +0000)
* atk/atkstate.c: Add missing <string.h> include.
* tests/teststateset.c: Add missing <string.h> include

ChangeLog
atk/atkstate.c
tests/teststateset.c

index b7ae236..9c29a7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 2e2d608..44dea90 100755 (executable)
@@ -19,6 +19,8 @@
 
 #include "atkstate.h"
 
+#include <string.h>
+
 #define NUM_POSSIBLE_STATES               (sizeof(AtkState)*8)
 
 static gchar* state_names[NUM_POSSIBLE_STATES] = {
index 7132d29..05718b7 100644 (file)
 
 #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;