diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-02-25 13:34:07 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-02-25 21:34:36 +0000 |
commit | e9b2859c45d15fc30dcec2c54fab211476e21392 (patch) | |
tree | b18d6a7a69b7adf4dbc32ba2e8cbfdb09dc2baa0 /extcap/extcap-base.h | |
parent | 12808dea8107b67f3de3fa52f409ce0ab600fa16 (diff) | |
download | wireshark-e9b2859c45d15fc30dcec2c54fab211476e21392.tar.gz |
Clean up modelines and indentation.
HT tab stops are set every 8 spaces on UN*X; UN*X tools that treat an HT
character as tabbing to 4-space tab stops, or that even are configurable
but *default* to 4-space tab stops (I'm looking at *you*, Xcode!) are
broken. tab-width: 4, tabstop=4, and tabSize=4 are errors if you ever
expect anybody to look at your file with a UN*X tool, and every text
file will probably be looked at by a UN*X tool at some point, so Don't
Do That.
Adjust indentation to reflect the mode lines.
Change-Id: Icf0831717de10fc615971fa1cf75af2f1ea2d03d
Reviewed-on: https://code.wireshark.org/review/14150
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'extcap/extcap-base.h')
-rw-r--r-- | extcap/extcap-base.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extcap/extcap-base.h b/extcap/extcap-base.h index 9da001a87b..83500e449e 100644 --- a/extcap/extcap-base.h +++ b/extcap/extcap-base.h @@ -76,12 +76,12 @@ #define EXTCAP_BASE_OPTIONS \ { "extcap-interfaces", no_argument, NULL, OPT_LIST_INTERFACES}, \ - { "extcap-dlts", no_argument, NULL, OPT_LIST_DLTS}, \ + { "extcap-dlts", no_argument, NULL, OPT_LIST_DLTS}, \ { "extcap-interface", required_argument, NULL, OPT_INTERFACE}, \ - { "extcap-config", no_argument, NULL, OPT_CONFIG}, \ - { "capture", no_argument, NULL, OPT_CAPTURE}, \ + { "extcap-config", no_argument, NULL, OPT_CONFIG}, \ + { "capture", no_argument, NULL, OPT_CAPTURE}, \ { "extcap-capture-filter", required_argument, NULL, OPT_CAPTURE_FILTER}, \ - { "fifo", required_argument, NULL, OPT_FIFO} \ + { "fifo", required_argument, NULL, OPT_FIFO} \ #endif @@ -89,11 +89,11 @@ * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: - * c-basic-offset: 4 - * tab-width: 4 + * c-basic-offset: 8 + * tab-width: 8 * indent-tabs-mode: t * End: * - * vi: set shiftwidth=4 tabstop=4 noexpandtab: - * :indentSize=4:tabSize=4:noTabs=false: + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: */ |