af-packet: prototypes cleanup

Remove unused prototype.

Declare other prototypes static.
pull/4531/head
Victor Julien 6 years ago
parent 44d7f636f2
commit 15e3bdb7b8

@ -303,17 +303,16 @@ typedef struct AFPThreadVars_
} AFPThreadVars; } AFPThreadVars;
TmEcode ReceiveAFP(ThreadVars *, Packet *, void *, PacketQueue *, PacketQueue *); static TmEcode ReceiveAFPThreadInit(ThreadVars *, const void *, void **);
TmEcode ReceiveAFPThreadInit(ThreadVars *, const void *, void **); static void ReceiveAFPThreadExitStats(ThreadVars *, void *);
void ReceiveAFPThreadExitStats(ThreadVars *, void *); static TmEcode ReceiveAFPThreadDeinit(ThreadVars *, void *);
TmEcode ReceiveAFPThreadDeinit(ThreadVars *, void *); static TmEcode ReceiveAFPLoop(ThreadVars *tv, void *data, void *slot);
TmEcode ReceiveAFPLoop(ThreadVars *tv, void *data, void *slot);
TmEcode DecodeAFPThreadInit(ThreadVars *, const void *, void **); static TmEcode DecodeAFPThreadInit(ThreadVars *, const void *, void **);
TmEcode DecodeAFPThreadDeinit(ThreadVars *tv, void *data); static TmEcode DecodeAFPThreadDeinit(ThreadVars *tv, void *data);
TmEcode DecodeAFP(ThreadVars *, Packet *, void *, PacketQueue *); static TmEcode DecodeAFP(ThreadVars *, Packet *, void *, PacketQueue *);
TmEcode AFPSetBPFFilter(AFPThreadVars *ptv); static TmEcode AFPSetBPFFilter(AFPThreadVars *ptv);
static int AFPGetIfnumByDev(int fd, const char *ifname, int verbose); static int AFPGetIfnumByDev(int fd, const char *ifname, int verbose);
static int AFPGetDevFlags(int fd, const char *ifname); static int AFPGetDevFlags(int fd, const char *ifname);
static int AFPDerefSocket(AFPPeer* peer); static int AFPDerefSocket(AFPPeer* peer);

Loading…
Cancel
Save