Skip to content

Commit

Permalink
fixed an issue regarding defining global variables in C header files:…
Browse files Browse the repository at this point in the history
… we should have defined rds_rough_col_type_t as a type rather than a global variable. thanks @姜大炮.
  • Loading branch information
agentzh committed Jul 13, 2011
1 parent b8d1f04 commit f28923c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resty_dbd_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(sizeof(rds_content_type) - 1)


enum {
typedef enum {
rds_rough_col_type_int = 0 << 14,
rds_rough_col_type_float = 1 << 14,
rds_rough_col_type_str = 2 << 14,
Expand Down

0 comments on commit f28923c

Please sign in to comment.