null+****@clear*****
null+****@clear*****
2012年 4月 3日 (火) 13:47:53 JST
Kouhei Sutou 2012-04-03 13:47:53 +0900 (Tue, 03 Apr 2012)
New Revision: 9603674e1a0317dbc53dc36df1c082ca7e592e4e
Log:
groonga: don't export internal functions
Modified files:
src/groonga.c
Modified: src/groonga.c (+3 -3)
===================================================================
--- src/groonga.c 2012-04-03 13:43:49 +0900 (9825864)
+++ src/groonga.c 2012-04-03 13:47:53 +0900 (a1745c6)
@@ -93,7 +93,7 @@ line_editor_prompt(EditLine *e __attribute__((unused)))
}
static const wchar_t * const line_editor_editor = L"emacs";
-void line_editor_init(int argc __attribute__((unused)), char *argv[])
+static void line_editor_init(int argc __attribute__((unused)), char *argv[])
{
const char * const HOME_PATH = getenv("HOME");
const char * const HISTORY_PATH = "/.groonga-history";
@@ -121,7 +121,7 @@ void line_editor_init(int argc __attribute__((unused)), char *argv[])
el_source(line_editor, NULL);
}
-void line_editor_fin(void)
+static void line_editor_fin(void)
{
if (line_editor) {
el_end(line_editor);
@@ -135,7 +135,7 @@ void line_editor_fin(void)
}
}
-grn_rc
+static grn_rc
line_editor_fgets(grn_ctx *ctx, grn_obj *buf)
{
grn_rc rc = GRN_SUCCESS;