diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-09-22 11:53:34 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-09-22 18:54:08 +0000 |
commit | ec5915a6d7e3c98c3bfb5fc1fee294d50a150bec (patch) | |
tree | e3760d2433acb1038aaf31755731dcb431c2dc3d /wiretap | |
parent | 72805be9ed3f49ca26c4fc7d7646c92dfdd1dd1d (diff) | |
download | wireshark-ec5915a6d7e3c98c3bfb5fc1fee294d50a150bec.tar.gz |
Make style more consistent.
Change-Id: I4ba40504d8cc308f7c13b465fcfaa9ff5eeebcf2
Reviewed-on: https://code.wireshark.org/review/4252
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/file_access.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index aa33d8ba25..e7db8941c1 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -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) { |