aboutsummaryrefslogtreecommitdiffstats
path: root/ui/filter_files.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-03-01 14:29:52 -0800
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-03-01 22:41:23 +0000
commit25edc7439b26b10a951394cced2559f1be2a8c93 (patch)
tree78781afc6921f7a6853fa02a9e029e56a6f8c689 /ui/filter_files.h
parent8f7303df82e0f77a909716ae7233cd87360357b3 (diff)
Make ui/*.[ch] indentation consistent.
Switch ui/clopts_common.c, ui/filter_files.[ch], and ui/summary.[ch] to 4 space indentation. This brings them in line with all of the other files in that directory and with ui/qt. Fix the modelines in ui/qt/models/filter_list_model.cpp.
Diffstat (limited to 'ui/filter_files.h')
-rw-r--r--ui/filter_files.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/filter_files.h b/ui/filter_files.h
index 6b8c0cb906..d08d93f639 100644
--- a/ui/filter_files.h
+++ b/ui/filter_files.h
@@ -34,16 +34,16 @@ extern "C" {
* Filter lists.
*/
typedef enum {
- CFILTER_LIST, /* capture filter list - saved */
- DFILTER_LIST /* display filter list - saved */
+ CFILTER_LIST, /* capture filter list - saved */
+ DFILTER_LIST /* display filter list - saved */
} filter_list_type_t;
/*
* Item in a list of filters.
*/
typedef struct {
- char *name; /* filter name */
- char *strval; /* filter expression */
+ char *name; /* filter name */
+ char *strval; /* filter expression */
} filter_def;
/*
@@ -92,11 +92,11 @@ void free_filter_lists(void);
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local Variables:
- * c-basic-offset: 2
+ * c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
- * vi: set shiftwidth=2 tabstop=8 expandtab:
- * :indentSize=2:tabSize=8:noTabs=true:
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
*/