Clean up modelines and indentation.

To quote Icf0831717de10fc615971fa1cf75af2f1ea2d03d:

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: Ic829541c696e0ddbc45cc109009319859c799066
Reviewed-on: https://code.wireshark.org/review/14340
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
This commit is contained in:
Jeff Morriss 2016-03-04 09:26:00 -05:00
parent 637aefd2b3
commit ab5614ae10
5 changed files with 204 additions and 204 deletions

View File

@ -2605,6 +2605,6 @@ void proto_reg_handoff_pcp(void)
* indent-tabs-mode: nil * indent-tabs-mode: nil
* End: * End:
* *
* vi: set shiftwidth=4 tabstop=4 expandtab: * vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true: * :indentSize=4:tabSize=8:noTabs=true:
*/ */

View File

@ -37,9 +37,9 @@
* cog.py -D xmlfile=tools/SkinnyProtocolOptimized.xml -d -c -o epan/dissectors/packet-skinny.c epan/dissectors/packet-skinny.c.in * cog.py -D xmlfile=tools/SkinnyProtocolOptimized.xml -d -c -o epan/dissectors/packet-skinny.c epan/dissectors/packet-skinny.c.in
*/ */
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil /* c-basic-offset: 2; tab-width: 8; indent-tabs-mode: nil
* vi: set shiftwidth=2 tabstop=2 expandtab: * vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=2:noTabs=true: * :indentSize=2:tabSize=8:noTabs=true:
*/ */
#include "config.h" #include "config.h"
@ -9748,10 +9748,10 @@ proto_reg_handoff_skinny(void)
* *
* Local variables: * Local variables:
* c-basic-offset: 2 * c-basic-offset: 2
* tab-width: 2 * tab-width: 8
* indent-tabs-mode: nil * indent-tabs-mode: nil
* End: * End:
* *
* vi: set shiftwidth=2 tabstop=2 expandtab: * vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=2:noTabs=true: * :indentSize=2:tabSize=8:noTabs=true:
*/ */

View File

@ -50,9 +50,9 @@ cog.out(' */\n')
/*[[[end]]]*/ /*[[[end]]]*/
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil /* c-basic-offset: 2; tab-width: 8; indent-tabs-mode: nil
* vi: set shiftwidth=2 tabstop=2 expandtab: * vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=2:noTabs=true: * :indentSize=2:tabSize=8:noTabs=true:
*/ */
#include "config.h" #include "config.h"
@ -551,10 +551,10 @@ proto_reg_handoff_skinny(void)
* *
* Local variables: * Local variables:
* c-basic-offset: 2 * c-basic-offset: 2
* tab-width: 2 * tab-width: 8
* indent-tabs-mode: nil * indent-tabs-mode: nil
* End: * End:
* *
* vi: set shiftwidth=2 tabstop=2 expandtab: * vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=2:noTabs=true: * :indentSize=2:tabSize=8:noTabs=true:
*/ */

View File

@ -267,10 +267,10 @@ void extcap_base_cleanup(extcap_parameters ** extcap)
* *
* Local variables: * Local variables:
* c-basic-offset: 4 * c-basic-offset: 4
* tab-width: 4 * tab-width: 8
* indent-tabs-mode: t * indent-tabs-mode: t
* End: * End:
* *
* vi: set shiftwidth=4 tabstop=4 noexpandtab: * vi: set shiftwidth=4 tabstop=8 noexpandtab:
* :indentSize=4:tabSize=4:noTabs=false: * :indentSize=4:tabSize=8:noTabs=false:
*/ */

View File

@ -97,10 +97,10 @@ end:
* *
* Local variables: * Local variables:
* c-basic-offset: 4 * c-basic-offset: 4
* tab-width: 4 * tab-width: 8
* indent-tabs-mode: t * indent-tabs-mode: t
* End: * End:
* *
* vi: set shiftwidth=4 tabstop=4 noexpandtab: * vi: set shiftwidth=4 tabstop=8 noexpandtab:
* :indentSize=4:tabSize=4:noTabs=false: * :indentSize=4:tabSize=8:noTabs=false:
*/ */