aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-bpv6.c3
-rw-r--r--epan/dissectors/packet-bpv7.c3
-rw-r--r--epan/dissectors/packet-realtek.c3
-rw-r--r--epan/dissectors/packet-tcpcl.c2
-rw-r--r--epan/ftypes/ftype-double.c10
-rw-r--r--epan/tvbuff_rdp.c2
6 files changed, 17 insertions, 6 deletions
diff --git a/epan/dissectors/packet-bpv6.c b/epan/dissectors/packet-bpv6.c
index 45140f519e..a4e0f31cfd 100644
--- a/epan/dissectors/packet-bpv6.c
+++ b/epan/dissectors/packet-bpv6.c
@@ -47,6 +47,9 @@
#include "packet-bpv6.h"
#include "packet-cfdp.h"
+void proto_register_bpv6(void);
+void proto_reg_handoff_bpv6(void);
+
static int dissect_admin_record(proto_tree *primary_tree, tvbuff_t *tvb, packet_info *pinfo,
int offset, int payload_length, gboolean* success);
diff --git a/epan/dissectors/packet-bpv7.c b/epan/dissectors/packet-bpv7.c
index 3b00f03bbb..6a23b07f88 100644
--- a/epan/dissectors/packet-bpv7.c
+++ b/epan/dissectors/packet-bpv7.c
@@ -29,6 +29,9 @@
#include <wsutil/utf8_entities.h>
#include <inttypes.h>
+void proto_register_bpv7(void);
+void proto_reg_handoff_bpv7(void);
+
/// Protocol column name
static const char *const proto_name_bp = "BPv7";
static const char *const proto_name_bp_admin = "BPv7 Admin";
diff --git a/epan/dissectors/packet-realtek.c b/epan/dissectors/packet-realtek.c
index 24550372b4..885b9c8226 100644
--- a/epan/dissectors/packet-realtek.c
+++ b/epan/dissectors/packet-realtek.c
@@ -18,6 +18,9 @@
#include <epan/packet.h>
#include <etypes.h>
+void proto_register_realtek(void);
+void proto_reg_handoff_realtek(void);
+
#define RTL_PROTOCOL_RRCP 0x01 /* RRCP */
#define RTL_PROTOCOL_REP 0x02 /* REP */
#define RTL_PROTOCOL_RLDP 0x03 /* RLDP */
diff --git a/epan/dissectors/packet-tcpcl.c b/epan/dissectors/packet-tcpcl.c
index 8443041e74..02a2954375 100644
--- a/epan/dissectors/packet-tcpcl.c
+++ b/epan/dissectors/packet-tcpcl.c
@@ -53,6 +53,8 @@
#include <epan/dissectors/packet-bpv6.h>
#include "packet-tcpcl.h"
+void proto_register_tcpclv3(void);
+void proto_reg_handoff_tcpclv3(void);
static const char magic[] = {'d', 't', 'n', '!'};
diff --git a/epan/ftypes/ftype-double.c b/epan/ftypes/ftype-double.c
index 07ed61fcd3..daf4875863 100644
--- a/epan/ftypes/ftype-double.c
+++ b/epan/ftypes/ftype-double.c
@@ -85,35 +85,35 @@ double_val_to_repr(wmem_allocator_t *scope, const fvalue_t *fv, ftrepr_t rtype _
return buf;
}
-enum ft_result
+static enum ft_result
val_unary_minus(fvalue_t * dst, const fvalue_t *src, char **err_ptr _U_)
{
dst->value.floating = -src->value.floating;
return FT_OK;
}
-enum ft_result
+static enum ft_result
val_add(fvalue_t * dst, const fvalue_t *a, const fvalue_t *b, char **err_ptr _U_)
{
dst->value.floating = a->value.floating + b->value.floating;
return FT_OK;
}
-enum ft_result
+static enum ft_result
val_subtract(fvalue_t * dst, const fvalue_t *a, const fvalue_t *b, char **err_ptr _U_)
{
dst->value.floating = a->value.floating - b->value.floating;
return FT_OK;
}
-enum ft_result
+static enum ft_result
val_multiply(fvalue_t * dst, const fvalue_t *a, const fvalue_t *b, char **err_ptr _U_)
{
dst->value.floating = a->value.floating * b->value.floating;
return FT_OK;
}
-enum ft_result
+static enum ft_result
val_divide(fvalue_t * dst, const fvalue_t *a, const fvalue_t *b, char **err_ptr _U_)
{
dst->value.floating = a->value.floating / b->value.floating;
diff --git a/epan/tvbuff_rdp.c b/epan/tvbuff_rdp.c
index 8487df384b..0e3c7938ce 100644
--- a/epan/tvbuff_rdp.c
+++ b/epan/tvbuff_rdp.c
@@ -322,7 +322,7 @@ zgfx_write_from_history(zgfx_context_t *zgfx, guint32 distance, guint32 count)
}
-gboolean
+static gboolean
rdp8_decompress_segment(zgfx_context_t *zgfx, tvbuff_t *tvb)
{
bitstream_t bitstream;