In a source file that defines external functions, the header file that

declares the functions must be included, in order to make sure the
declarations match the function signature.  Make it so.

Said header declares pipe_input_cb_t, so we don't have to do it
ourselves.

svn path=/trunk/; revision=54750
This commit is contained in:
Guy Harris 2014-01-14 01:44:36 +00:00
parent d399b7ac90
commit 97137766e7
1 changed files with 1 additions and 4 deletions

View File

@ -82,6 +82,7 @@
#include <epan/print.h>
#include <epan/addr_resolv.h>
#include "ui/util.h"
#include "ui/ui_util.h"
#include "clopts_common.h"
#include "cmdarg_err.h"
#include "version_info.h"
@ -2186,10 +2187,6 @@ main(int argc, char *argv[])
guint32 packet_count = 0;
/* XXX - move to the right position / file */
/* read from a pipe (callback) */
typedef gboolean (*pipe_input_cb_t) (gint source, gpointer user_data);
typedef struct pipe_input_tag {
gint source;
gpointer user_data;