[Groonga-commit] groonga/groonga [master] Fixed missing static.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 8月 18日 (水) 09:37:36 JST


Daijiro MORI	2010-08-18 00:37:36 +0000 (Wed, 18 Aug 2010)

  New Revision: bb8c11c23a4f3bfafe843b8c21fc8bf91e1a72d8

  Log:
    Fixed missing static.

  Modified files:
    lib/pat.c

  Modified: lib/pat.c (+4 -4)
===================================================================
--- lib/pat.c    2010-08-17 23:20:22 +0000 (e22e766)
+++ lib/pat.c    2010-08-18 00:37:36 +0000 (63aaae7)
@@ -2377,7 +2377,7 @@ typedef struct {
   uint8_t attr;
 } rk_tree_node;
 
-uint16_t rk_str_idx[] = {
+static uint16_t rk_str_idx[] = {
   0x0003, 0x0006, 0x0009, 0x000c, 0x0012, 0x0015, 0x0018, 0x001e, 0x0024, 0x002a,
   0x0030, 0x0036, 0x003c, 0x0042, 0x0048, 0x004e, 0x0054, 0x005a, 0x0060, 0x0066,
   0x006c, 0x0072, 0x0078, 0x007e, 0x0084, 0x008a, 0x0090, 0x0096, 0x009c, 0x00a2,
@@ -2397,7 +2397,7 @@ uint16_t rk_str_idx[] = {
   0x02e8, 0x02eb, 0x02ee, 0x02f1, 0x02f4, 0x02f7, 0x02fa, 0x02fd, 0x0300, 0x0303,
   0x0309, 0x030c, 0x0312, 0x0318, 0x031e, 0x0324, 0x0327, 0x032a, 0x032d
 };
-char rk_str[] = {
+static char rk_str[] = {
   0xe3, 0x82, 0xa1, 0xe3, 0x82, 0xa2, 0xe3, 0x82, 0xa3, 0xe3, 0x82, 0xa4, 0xe3,
   0x82, 0xa4, 0xe3, 0x82, 0xa7, 0xe3, 0x82, 0xa5, 0xe3, 0x82, 0xa6, 0xe3, 0x82,
   0xa6, 0xe3, 0x82, 0xa2, 0xe3, 0x82, 0xa6, 0xe3, 0x82, 0xa3, 0xe3, 0x82, 0xa6,
@@ -2462,7 +2462,7 @@ char rk_str[] = {
   0x83, 0xb4, 0xe3, 0x82, 0xa7, 0xe3, 0x83, 0xb4, 0xe3, 0x82, 0xa9, 0xe3, 0x83,
   0xb5, 0xe3, 0x83, 0xb6, 0xe3, 0x83, 0xbc
 };
-uint16_t rk_tree_idx[] = {
+static uint16_t rk_tree_idx[] = {
   0x001b, 0x0022, 0x0025, 0x0028, 0x002d, 0x0030, 0x0039, 0x003b, 0x003c, 0x003f,
   0x0046, 0x0047, 0x004f, 0x0050, 0x0053, 0x005a, 0x005d, 0x0064, 0x0067, 0x006f,
   0x0070, 0x0073, 0x007d, 0x007f, 0x0081, 0x0082, 0x0083, 0x0088, 0x008f, 0x0092,
@@ -2471,7 +2471,7 @@ uint16_t rk_tree_idx[] = {
   0x010d, 0x010e, 0x0113, 0x0118, 0x011f, 0x0123, 0x0125, 0x0164, 0x0180, 0x0183,
   0x0199, 0x01ad
 };
-rk_tree_node rk_tree[] = {
+static rk_tree_node rk_tree[] = {
   {0x2d, 0x00, 0xb2, 0x01}, {0x61, 0x00, 0x01, 0x01}, {0x62, 0x01, 0xff, 0x01},
   {0x63, 0x03, 0xff, 0x01}, {0x64, 0x06, 0xff, 0x01}, {0x65, 0x00, 0x24, 0x01},
   {0x66, 0x0a, 0xff, 0x01}, {0x67, 0x0c, 0xff, 0x01}, {0x68, 0x0f, 0xff, 0x01},




Groonga-commit メーリングリストの案内
Back to archive index