Skip to content

Commit

Permalink
Name an anonymous enum: grn_token_status
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 21, 2012
1 parent fa0a777 commit d5507d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/token.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ typedef struct {
grn_obj *nstr;
} grn_token;

enum {
typedef enum {
grn_token_doing = 0,
grn_token_done,
grn_token_not_found
};
} grn_token_status;

#define GRN_TOKEN_LAST (0x01L<<0)
#define GRN_TOKEN_OVERLAP (0x01L<<1)
Expand Down

0 comments on commit d5507d2

Please sign in to comment.