summaryrefslogtreecommitdiff
path: root/plugins/transum
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-12-21 08:05:12 +0100
committerAnders Broman <a.broman58@gmail.com>2016-12-21 11:37:42 +0000
commit56cf6998bbe66ddc614bf04915847dc047218b39 (patch)
tree5474e516dea78411993265cbf73ef655171398c2 /plugins/transum
parent2ff7f36d707528e5689e84873f2ed0062a20a84e (diff)
downloadwireshark-56cf6998bbe66ddc614bf04915847dc047218b39.tar.gz
transum: fix no previous prototype for '...’ [-Wmissing-prototypes]
Part 2... Change-Id: Id219bd2b04de2003b5bfa4a33893d0310856275d Reviewed-on: https://code.wireshark.org/review/19368 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins/transum')
-rw-r--r--plugins/transum/packet-transum.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/transum/packet-transum.c b/plugins/transum/packet-transum.c
index 5aec01a175..8d8eba413c 100644
--- a/plugins/transum/packet-transum.c
+++ b/plugins/transum/packet-transum.c
@@ -223,7 +223,7 @@ static void update_output_rrpd(RRPD *in_rrpd)
}
/* Return the index of the RRPD that has been appended */
-int append_to_rrpd_list(RRPD *in_rrpd)
+static int append_to_rrpd_list(RRPD *in_rrpd)
{
if (next_free_rrpd > MAX_RRPDS)
next_free_rrpd = 0;
@@ -260,7 +260,7 @@ An input state value of 0 means that we don't care about state.
Returns the rrpd_list index value of the match or -1 if no match is found.
*/
-int find_latest_rrpd(RRPD *in_rrpd, int state)
+static int find_latest_rrpd(RRPD *in_rrpd, int state)
{
int i;
int rrpd_index = -1;
@@ -539,7 +539,7 @@ static void update_rrpd_list_entry_req(RRPD *in_rrpd)
This function inserts an RRPD into the temp_rsp_rrpd_list. If this is
successful return the index of the entry. If there is no space return -1.
*/
-int insert_into_temp_rsp_rrpd_list(RRPD *in_rrpd)
+static int insert_into_temp_rsp_rrpd_list(RRPD *in_rrpd)
{
int i;
@@ -558,7 +558,7 @@ int insert_into_temp_rsp_rrpd_list(RRPD *in_rrpd)
return -1;
}
-int find_temp_rsp_rrpd(RRPD *in_rrpd)
+static int find_temp_rsp_rrpd(RRPD *in_rrpd)
{
int entry_index = -1;