aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/file_access.c8
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) {