aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-epl.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-11-20 20:04:26 +0100
committerAnders Broman <a.broman58@gmail.com>2014-11-20 21:28:53 +0000
commit5e932ada7bc309f11135afe8bee77a1909ab46a3 (patch)
tree54cea1672598dd04bd2132a6b656bcaa2b3b46c4 /epan/dissectors/packet-epl.c
parente77261f6593b8c25635fc32d78f0f0c3c57bb902 (diff)
EPL: fix warning: no previous prototype for function ... [-Wmissing-prototypes]
Change-Id: I40de0c8c2bd40f18a33947367fdeec5a22a3093a Reviewed-on: https://code.wireshark.org/review/5414 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-epl.c')
-rw-r--r--epan/dissectors/packet-epl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c
index b0be6786b8..690c20f98b 100644
--- a/epan/dissectors/packet-epl.c
+++ b/epan/dissectors/packet-epl.c
@@ -1331,7 +1331,7 @@ epl_duplication_equal(gconstpointer k1, gconstpointer k2)
}
/* free the permanent key */
-void
+static void
free_key(gpointer ptr)
{
duplication_key *key = (duplication_key *)ptr;
@@ -1341,7 +1341,7 @@ free_key(gpointer ptr)
}
/* removes the table entries of a specific transfer */
-void
+static void
epl_duplication_remove(GHashTable* table, guint8 src, guint8 dest)
{
GHashTableIter iter;
@@ -1363,7 +1363,7 @@ epl_duplication_remove(GHashTable* table, guint8 src, guint8 dest)
}
/* insert function */
-void
+static void
epl_duplication_insert(GHashTable* table, gpointer ptr, guint32 frame)
{
duplication_data *data = NULL;
@@ -1395,7 +1395,7 @@ epl_duplication_insert(GHashTable* table, gpointer ptr, guint32 frame)
}
/* create a key*/
-gpointer
+static gpointer
epl_duplication_key(guint8 src, guint8 dest, guint8 seq_recv, guint8 seq_send)
{
duplication_key *key = g_slice_new(duplication_key);
@@ -1409,7 +1409,7 @@ epl_duplication_key(guint8 src, guint8 dest, guint8 seq_recv, guint8 seq_send)
}
/* get the saved data */
-guint32
+static guint32
epl_duplication_get(GHashTable* table, gpointer ptr)
{
duplication_data *data = NULL;