Consistently use tab indentation.

(If somebody wants to convert the entire file to 4-space indentation, go
ahead.)

Change-Id: I1e3829289ac67db79eea2eb16e6a4ba40c449a8d
Reviewed-on: https://code.wireshark.org/review/4250
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-09-22 11:50:02 -07:00
parent 05d1f6026a
commit 72805be9ed
1 changed files with 139 additions and 137 deletions

View File

@ -291,7 +291,8 @@ wtap_get_all_file_extensions_list(void)
return extensions;
}
/* The open_file_* routines should return:
/*
* The open_file_* routines should return:
*
* -1 on an I/O error;
*
@ -310,7 +311,6 @@ wtap_get_all_file_extensions_list(void)
* returning 0, since the next file type will be called and will likely
* just overwrite the pointer.
*/
static struct open_info open_info_base[] = {
{ "Pcap", OPEN_INFO_MAGIC, libpcap_open, "pcap", NULL, NULL },
{ "PcapNG", OPEN_INFO_MAGIC, pcapng_open, "pcapng", NULL, NULL },
@ -345,7 +345,8 @@ static struct open_info open_info_base[] = {
{ "Daintree SNA", OPEN_INFO_HEURISTIC, daintree_sna_open, "dcf", NULL, NULL },
{ "Stanag 4607", OPEN_INFO_HEURISTIC, stanag4607_open, NULL, NULL, NULL },
{ "BER", OPEN_INFO_HEURISTIC, ber_open, NULL, NULL, NULL },
/* I put NetScreen *before* erf, because there were some
/*
* I put NetScreen *before* erf, because there were some
* false positives with my test-files (Sake Blok, July 2007)
*
* I put VWR *after* ERF, because there were some cases where
@ -438,7 +439,8 @@ init_open_routines(void)
set_heuristic_routine();
}
/* Registers a new file reader - currently only called by wslua code for Lua readers.
/*
* Registers a new file reader - currently only called by wslua code for Lua readers.
* If first_routine is true, it's added before other readers of its type (magic or heuristic).
* Also, it checks for an existing reader of the same name and errors if it finds one; if
* you want to handle that condition more gracefully, call wtap_has_open_info() first.