[Groonga-commit] groonga/groonga [master] remove an invalid typedef.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 16日 (木) 16:40:42 JST


Susumu Yata	2012-02-16 16:40:42 +0900 (Thu, 16 Feb 2012)

  New Revision: 9c0a97f829a14e2c7b000737bb3fcde3982d5779

  Log:
    remove an invalid typedef.

  Modified files:
    include/groonga/tokenizer.h

  Modified: include/groonga/tokenizer.h (+2 -4)
===================================================================
--- include/groonga/tokenizer.h    2012-02-16 10:02:18 +0900 (e089cce)
+++ include/groonga/tokenizer.h    2012-02-16 16:40:42 +0900 (608fe21)
@@ -105,12 +105,10 @@ void grn_tokenizer_token_fin(grn_ctx *ctx, grn_tokenizer_token *token);
   or query contains no tokens, please push an empty string with
   GRN_TOKENIZER_LAST as a token.
  */
-typedef enum _grn_tokenizer_status grn_tokenizer_status;
-
-enum _grn_tokenizer_status {
+typedef enum {
   GRN_TOKENIZER_CONTINUE = 0,
   GRN_TOKENIZER_LAST     = 1
-};
+} grn_tokenizer_status;
 
 /*
   grn_tokenizer_token_push() pushes the next token in `*token'. Note that




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