diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-14 06:30:02 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-14 18:21:02 -0800 |
commit | 4d4b2958a5fdf0dfa0f8199535ccd9bd4e66d4af (patch) | |
tree | 0b20e6e1a504b8102f20491dc2bddb33ed5abb3c /src/helper | |
parent | c2edc7908fc68594761be3bd390aa6bb5335da60 (diff) | |
download | openocd_libswd-4d4b2958a5fdf0dfa0f8199535ccd9bd4e66d4af.tar.gz openocd_libswd-4d4b2958a5fdf0dfa0f8199535ccd9bd4e66d4af.tar.bz2 openocd_libswd-4d4b2958a5fdf0dfa0f8199535ccd9bd4e66d4af.tar.xz openocd_libswd-4d4b2958a5fdf0dfa0f8199535ccd9bd4e66d4af.zip |
struct scan_field_s -> struct scan_field
Remove obsolete suffix from struct scan_field. Somehow, these
definitions did not get updated but did not cause any errors.
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/binarybuffer.c | 2 | ||||
-rw-r--r-- | src/helper/binarybuffer.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/binarybuffer.c b/src/helper/binarybuffer.c index 4b5dfe82..e0e7ac16 100644 --- a/src/helper/binarybuffer.c +++ b/src/helper/binarybuffer.c @@ -328,7 +328,7 @@ int str_to_buf(const char *str, int str_len, uint8_t *buf, int buf_len, int radi return i; } -int buf_to_u32_handler(uint8_t *in_buf, void *priv, struct scan_field_s *field) +int buf_to_u32_handler(uint8_t *in_buf, void *priv, struct scan_field *field) { uint32_t *dest = priv; diff --git a/src/helper/binarybuffer.h b/src/helper/binarybuffer.h index 5017a358..d7c887e7 100644 --- a/src/helper/binarybuffer.h +++ b/src/helper/binarybuffer.h @@ -90,8 +90,8 @@ int str_to_buf(const char *str, int len, uint8_t *bin_buf, int buf_size, int radix); char* buf_to_str(const uint8_t *buf, int size, int radix); -struct scan_field_s; -int buf_to_u32_handler(uint8_t *in_buf, void *priv, struct scan_field_s *field); +struct scan_field; +int buf_to_u32_handler(uint8_t *in_buf, void *priv, struct scan_field *field); #define CEIL(m, n) (((m) + (n) - 1) / (n)) |