[Groonga-commit] groonga/groonga [master] groonga: fix style

Back to archive index

null+****@clear***** null+****@clear*****
2012年 4月 3日 (火) 13:48:33 JST


Kouhei Sutou	2012-04-03 13:48:33 +0900 (Tue, 03 Apr 2012)

  New Revision: 52ca89adb44a7a690865100e5d1472eb11ee9b42

  Log:
    groonga: fix style
    
    Use a line for return value.

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+4 -2)
===================================================================
--- src/groonga.c    2012-04-03 13:46:40 +0900 (a1745c6)
+++ src/groonga.c    2012-04-03 13:48:33 +0900 (a2a9b8c)
@@ -93,7 +93,8 @@ line_editor_prompt(EditLine *e __attribute__((unused)))
 }
 static const wchar_t * const line_editor_editor = L"emacs";
 
-static 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 +122,8 @@ static void line_editor_init(int argc __attribute__((unused)), char *argv[])
   el_source(line_editor, NULL);
 }
 
-static void line_editor_fin(void)
+static void
+line_editor_fin(void)
 {
   if (line_editor) {
     el_end(line_editor);




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