Squelch redundant declaration warnings.
authorGuy Harris <guy@alum.mit.edu>
Fri, 16 Feb 2018 22:10:47 +0000 (14:10 -0800)
committerGuy Harris <guy@alum.mit.edu>
Fri, 16 Feb 2018 22:40:26 +0000 (22:40 +0000)
commit4a69d10920c47fbbb5522adbb478cfeb8f6785dc
tree327d87b3d61abeea16761265884b84273c7c419a
parentc881ee37d955428cea8f377aaa0a66d5c0b0e60d
Squelch redundant declaration warnings.

Have the text-to-pcap scanners define a routine that the main code
calls, which both allocates and destroys the scanner.  Don't declare the
Lex-generated routines in a header file we create, declare that routine,
instead.

Change-Id: Icad6a83db1a0dea8ac390315af72383fc99f8513
Reviewed-on: https://code.wireshark.org/review/25822
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
text2pcap-scanner.l
text2pcap.c
text2pcap.h
ui/text_import.c
ui/text_import_scanner.h
ui/text_import_scanner.l