Make style more consistent.

Change-Id: I4ba40504d8cc308f7c13b465fcfaa9ff5eeebcf2
Reviewed-on: https://code.wireshark.org/review/4252
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-09-22 11:53:34 -07:00
parent 72805be9ed
commit ec5915a6d7
1 changed files with 6 additions and 2 deletions

View File

@ -1512,7 +1512,9 @@ init_file_types_subtypes(void)
/* if subtype is WTAP_FILE_TYPE_SUBTYPE_UNKNOWN, then create a new subtype as well as register it, else replace the
existing entry in that spot */
int wtap_register_file_type_subtypes(const struct file_type_subtype_info* fi, const int subtype) {
int
wtap_register_file_type_subtypes(const struct file_type_subtype_info* fi, const int subtype)
{
struct file_type_subtype_info* finfo;
init_file_types_subtypes();
@ -1560,7 +1562,9 @@ int wtap_register_file_type_subtypes(const struct file_type_subtype_info* fi, co
/* De-registers a file writer - they can never be removed from the GArray, but we can "clear" an entry.
*/
void wtap_deregister_file_type_subtype(const int subtype) {
void
wtap_deregister_file_type_subtype(const int subtype)
{
struct file_type_subtype_info* finfo;
if (subtype < 0 || subtype >= wtap_num_file_types_subtypes) {