randpkt: fix no previous prototype for 'randpkt_*' [-Wmissing-prototypes]

randpkt.c:556:1: warning: no previous prototype for ‘randpkt_seed’
randpkt.c:610:6: warning: no previous prototype for ‘randpkt_example_init’
randpkt.c:632:6: warning: no previous prototype for ‘randpkt_example_close’
randpkt.c:638:6: warning: no previous prototype for ‘randpkt_loop’

Change-Id: Ieab604a22fa7ebf5c049ab497abd56af0a788d36
Reviewed-on: https://code.wireshark.org/review/11654
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2015-11-09 12:26:18 +01:00 committed by Michael Mann
parent 2fe0fc5a1a
commit fcda681912
1 changed files with 4 additions and 4 deletions

View File

@ -552,7 +552,7 @@ int randpkt_parse_type(char *string)
static void usage(gboolean is_error);
/* Seed the random-number generator */
void
static void
randpkt_seed(void)
{
unsigned int randomness;
@ -607,7 +607,7 @@ fallback:
static randpkt_example* randpkt_find_example(int type);
void randpkt_example_init(randpkt_example* example, char* produce_filename, int produce_max_bytes)
static void randpkt_example_init(randpkt_example* example, char* produce_filename, int produce_max_bytes)
{
int err;
@ -629,13 +629,13 @@ void randpkt_example_init(randpkt_example* example, char* produce_filename, int
}
}
void randpkt_example_close(randpkt_example* example)
static void randpkt_example_close(randpkt_example* example)
{
int err;
wtap_dump_close(example->dump, &err);
}
void randpkt_loop(randpkt_example* example, guint64 produce_count)
static void randpkt_loop(randpkt_example* example, guint64 produce_count)
{
guint i;
int j;