From 4d4b2958a5fdf0dfa0f8199535ccd9bd4e66d4af Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Sat, 14 Nov 2009 06:30:02 -0800 Subject: 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. --- src/helper/binarybuffer.c | 2 +- src/helper/binarybuffer.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/helper') diff --git a/src/helper/binarybuffer.c b/src/helper/binarybuffer.c index 4b5dfe8..e0e7ac1 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 5017a35..d7c887e 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)) -- cgit v1.1