Permalink
Browse files

fixed an issue regarding defining global variables in C header files:…

… we should have defined rds_rough_col_type_t as a type rather than a global variable. thanks @姜大炮.
  • Loading branch information...
1 parent b8d1f04 commit f28923c7d64b7e4a46668474d0df480c4f2e5a27 @agentzh agentzh committed Jul 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/resty_dbd_stream.h
View
@@ -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,

0 comments on commit f28923c

Please sign in to comment.