diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-21 11:14:50 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-21 11:16:34 -0700 |
commit | b57718fb7ed6f813f41b655ecbab1f6edd64ded0 (patch) | |
tree | 1caa7f067057ccc43ac6c4ac5c85305c395acd1a /ext/unicorn/http11/http11_parser.h | |
parent | ba916e542a46686185cb701e87a98a617c0f4078 (diff) | |
download | unicorn-b57718fb7ed6f813f41b655ecbab1f6edd64ded0.tar.gz |
Use the "do {} while (0)" idiom to wrap the macros we can wrap to avoid having to worry about semi-colons when using them. Unfortunately DEF_MAX_LENGTH can't be wrapped with "do {} while (0)". But we do now correctly constify the strings DEF_MAX_LENGTH creates and also make them static to reduce visibility.
Diffstat (limited to 'ext/unicorn/http11/http11_parser.h')
0 files changed, 0 insertions, 0 deletions