diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-17 00:30:52 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-17 00:30:52 +0000 |
commit | c0f4495d5e9736d77cb5142a6f5112764b5ca3d2 (patch) | |
tree | af30ade9e318b1e4b488ee6c5839f1fc75d99808 /src/helper/command.h | |
parent | d579befc0702969f71fce974befe898dec3af6dd (diff) |
Change parse_type macros to be sed-friendly.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2259 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.h')
-rw-r--r-- | src/helper/command.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/helper/command.h b/src/helper/command.h index 565a83e6..3e7bea92 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -117,17 +117,17 @@ int parse_long(const char *str, long *ul); int parse_llong(const char *str, long long *ul); #define DECLARE_PARSE_WRAPPER(name, type) \ - int parse_##name(const char *str, type *ul) + int parse##name(const char *str, type *ul) -DECLARE_PARSE_WRAPPER(uint, unsigned); -DECLARE_PARSE_WRAPPER(u32, uint32_t); -DECLARE_PARSE_WRAPPER(u16, uint16_t); -DECLARE_PARSE_WRAPPER(u8, uint8_t); +DECLARE_PARSE_WRAPPER(_uint, unsigned); +DECLARE_PARSE_WRAPPER(_u32, uint32_t); +DECLARE_PARSE_WRAPPER(_u16, uint16_t); +DECLARE_PARSE_WRAPPER(_u8, uint8_t); -DECLARE_PARSE_WRAPPER(int, int); -DECLARE_PARSE_WRAPPER(s32, int32_t); -DECLARE_PARSE_WRAPPER(s16, int16_t); -DECLARE_PARSE_WRAPPER(s8, int8_t); +DECLARE_PARSE_WRAPPER(_int, int); +DECLARE_PARSE_WRAPPER(_s32, int32_t); +DECLARE_PARSE_WRAPPER(_s16, int16_t); +DECLARE_PARSE_WRAPPER(_s8, int8_t); void script_debug(Jim_Interp *interp, const char *cmd, int argc, Jim_Obj *const *argv); |