aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-08-06 20:10:59 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-08-06 20:10:59 +0000
commit72ea2f9c9c63c7e5c6270383888ad32683d96edf (patch)
treec58a12fbefc4c245ec132d2c7db06486a6981945 /epan/proto.h
parent93f56d8a770e9a29bfeb27f0698ae25ae89206a9 (diff)
Remove hfinfo->bitshift member, add hfinfo_bitshift() to get it.
svn path=/trunk/; revision=51174
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 378dd38ea2..8dfd85a05b 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -373,7 +373,7 @@ struct _header_field_info {
int id; /**< Field ID */
int parent; /**< parent protocol tree */
hf_ref_type ref_type; /**< is this field referenced by a filter */
- int bitshift; /**< bits to shift */
+ /* 4B padding */
header_field_info *same_name_next; /**< Link to next hfinfo with same abbrev */
header_field_info *same_name_prev; /**< Link to previous hfinfo with same abbrev */
};
@@ -383,7 +383,7 @@ struct _header_field_info {
* _header_field_info. If new fields are added or removed, it should
* be changed as necessary.
*/
-#define HFILL 0, 0, HF_REF_TYPE_NONE, 0, NULL, NULL
+#define HFILL 0, 0, HF_REF_TYPE_NONE, NULL, NULL
/** Used when registering many fields at once, using proto_register_field_array() */
typedef struct hf_register_info {
@@ -1863,8 +1863,8 @@ WS_DLL_PUBLIC void tree_expanded_set(int tree_type, gboolean value);
extern int
hfinfo_bitwidth(const header_field_info *hfinfo);
-
-
+WS_DLL_PUBLIC int
+hfinfo_bitshift(const header_field_info *hfinfo);
#include "epan.h"