[Groonga-commit] groonga/groonga [master] add missing 'static'.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 11月 23日 (火) 21:19:56 JST


Kouhei Sutou	2010-11-23 12:19:56 +0000 (Tue, 23 Nov 2010)

  New Revision: 268c04d0b56ef35d200bba12e785efa1c4f19fdc

  Log:
    add missing 'static'.

  Modified files:
    src/grntest.c

  Modified: src/grntest.c (+5 -5)
===================================================================
--- src/grntest.c    2010-11-23 11:59:16 +0000 (2c159d2)
+++ src/grntest.c    2010-11-23 12:19:56 +0000 (f10cdf8)
@@ -80,7 +80,7 @@ static int grntest_noftp_mode = 0;
 #define TMPFILE "_grntest.tmp"
 
 static grn_ctx grntest_server_context;
-FILE *grntest_logfp;
+static FILE *grntest_logfp;
 
 #define OS_LINUX64   "LINUX64"
 #define OS_LINUX32   "LINUX32"
@@ -92,9 +92,9 @@ typedef SOCKET socket_t;
 #define SOCKETERROR INVALID_SOCKET
 #define socketclose closesocket
 static const char *groonga_path = "groonga.exe";
-PROCESS_INFORMATION grntest_pi;
+static PROCESS_INFORMATION grntest_pi;
 #else
-pid_t grntest_server_id = 0;
+static pid_t grntest_server_id = 0;
 typedef int socket_t;
 #define socketclose close
 #define SOCKETERROR -1
@@ -102,11 +102,11 @@ static const char *groonga_path = "groonga";
 #endif /* WIN32 */
 
 static const char *groonga_protocol = "gqtp";
-char *grntest_osinfo;
+static char *grntest_osinfo;
 
 
 
-grn_obj *grntest_db = NULL;
+static grn_obj *grntest_db = NULL;
 
 #define MAX_CON_JOB 10
 #define MAX_CON 64




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