[Groonga-commit] groonga/groonga [master] test: add const

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Feb 5 17:54:10 JST 2013


Kouhei Sutou	2013-02-05 17:54:10 +0900 (Tue, 05 Feb 2013)

  New Revision: e0e80c605ee96a91072b8006a45cbda274b3735e
  https://github.com/groonga/groonga/commit/e0e80c605ee96a91072b8006a45cbda274b3735e

  Log:
    test: add const

  Modified files:
    test/unit/core/test-table-cursor.c

  Modified: test/unit/core/test-table-cursor.c (+2 -2)
===================================================================
--- test/unit/core/test-table-cursor.c    2013-02-05 17:53:42 +0900 (057674e)
+++ test/unit/core/test-table-cursor.c    2013-02-05 17:54:10 +0900 (ff78995)
@@ -24,7 +24,7 @@
 #include "../lib/grn-assertions.h"
 
 void data_table(void);
-void test_table(gpointer data);
+void test_table(gconstpointer data);
 void data_normalize(void);
 void test_normalize(gconstpointer data);
 
@@ -101,7 +101,7 @@ data_table(void)
 }
 
 void
-test_table(gpointer data)
+test_table(gconstpointer data)
 {
   grn_obj *table;
   grn_obj_flags flags = gcut_data_get_int(data, "flags");
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index