aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-11-11 09:38:50 +0000
committerJoão Valverde <j@v6e.pt>2021-11-11 09:50:29 +0000
commit526ccff3d0b63085a2d175ea58c00e6b53d6b22d (patch)
tree07cca60b7586565cde3b1ad7d3f83e66814f7049 /epan/ftypes
parentfd78f1ed02d64c77370c486b02958457d351b225 (diff)
ftypes: Remove unused function declarations
Some registration function declarations were left behind, remove them. While here move function declarations after typedefs as is customary.
Diffstat (limited to 'epan/ftypes')
-rw-r--r--epan/ftypes/ftypes-int.h38
1 files changed, 15 insertions, 23 deletions
diff --git a/epan/ftypes/ftypes-int.h b/epan/ftypes/ftypes-int.h
index 6b8f02202d..5e2bd88441 100644
--- a/epan/ftypes/ftypes-int.h
+++ b/epan/ftypes/ftypes-int.h
@@ -9,30 +9,8 @@
#ifndef FTYPES_INT_H
#define FTYPES_INT_H
-#include <epan/proto.h>
#include "ftypes.h"
-
-
-void
-ftype_register(enum ftenum ftype, ftype_t *ft);
-
-/* These are the ftype registration functions that need to be called.
- * This list and the initialization function could be produced
- * via a script, like the dissector registration, but there's so few
- * that I don't mind doing it by hand for now. */
-void ftype_register_bytes(void);
-void ftype_register_double(void);
-void ftype_register_ieee_11073_float(void);
-void ftype_register_fc(void);
-void ftype_register_integers(void);
-void ftype_register_ipv4(void);
-void ftype_register_ipv6(void);
-void ftype_register_guid(void);
-void ftype_register_none(void);
-void ftype_register_string(void);
-void ftype_register_time(void);
-void ftype_register_tvbuff(void);
-void ftype_register_pcre(void);
+#include <epan/proto.h>
typedef void (*FvalueNewFunc)(fvalue_t*);
typedef void (*FvalueFreeFunc)(fvalue_t*);
@@ -111,6 +89,20 @@ struct _ftype_t {
FvalueSlice slice;
};
+void ftype_register(enum ftenum ftype, ftype_t *ft);
+
+void ftype_register_bytes(void);
+void ftype_register_double(void);
+void ftype_register_ieee_11073_float(void);
+void ftype_register_integers(void);
+void ftype_register_ipv4(void);
+void ftype_register_ipv6(void);
+void ftype_register_guid(void);
+void ftype_register_none(void);
+void ftype_register_string(void);
+void ftype_register_time(void);
+void ftype_register_tvbuff(void);
+
GByteArray *
byte_array_from_unparsed(const char *s, gchar **err_msg);