aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2016-03-04 09:26:00 -0500
committerJeff Morriss <jeff.morriss.ws@gmail.com>2016-03-04 15:30:44 +0000
commitab5614ae10508a465cc2938bb39018b3f36636aa (patch)
tree97a1a7f7b06daae2300ee05f6ff2fbd6f75c97d1 /epan/dissectors
parent637aefd2b3730ef8eba360040c848205e5c3e7f3 (diff)
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>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-pcp.c2
-rw-r--r--epan/dissectors/packet-skinny.c12
-rw-r--r--epan/dissectors/packet-skinny.c.in12
3 files changed, 13 insertions, 13 deletions
diff --git a/epan/dissectors/packet-pcp.c b/epan/dissectors/packet-pcp.c
index e1d9d6ff1c..340ff952a0 100644
--- a/epan/dissectors/packet-pcp.c
+++ b/epan/dissectors/packet-pcp.c
@@ -2605,6 +2605,6 @@ void proto_reg_handoff_pcp(void)
* indent-tabs-mode: nil
* End:
*
-* vi: set shiftwidth=4 tabstop=4 expandtab:
+* vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/
diff --git a/epan/dissectors/packet-skinny.c b/epan/dissectors/packet-skinny.c
index 23784d4411..9241a0ee7d 100644
--- a/epan/dissectors/packet-skinny.c
+++ b/epan/dissectors/packet-skinny.c
@@ -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
*/
-/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
- * vi: set shiftwidth=2 tabstop=2 expandtab:
- * :indentSize=2:tabSize=2:noTabs=true:
+/* c-basic-offset: 2; tab-width: 8; indent-tabs-mode: nil
+ * vi: set shiftwidth=2 tabstop=8 expandtab:
+ * :indentSize=2:tabSize=8:noTabs=true:
*/
#include "config.h"
@@ -9748,10 +9748,10 @@ proto_reg_handoff_skinny(void)
*
* Local variables:
* c-basic-offset: 2
- * tab-width: 2
+ * tab-width: 8
* indent-tabs-mode: nil
* End:
*
- * vi: set shiftwidth=2 tabstop=2 expandtab:
- * :indentSize=2:tabSize=2:noTabs=true:
+ * vi: set shiftwidth=2 tabstop=8 expandtab:
+ * :indentSize=2:tabSize=8:noTabs=true:
*/
diff --git a/epan/dissectors/packet-skinny.c.in b/epan/dissectors/packet-skinny.c.in
index 2d16802ea3..da478aa380 100644
--- a/epan/dissectors/packet-skinny.c.in
+++ b/epan/dissectors/packet-skinny.c.in
@@ -50,9 +50,9 @@ cog.out(' */\n')
/*[[[end]]]*/
-/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
- * vi: set shiftwidth=2 tabstop=2 expandtab:
- * :indentSize=2:tabSize=2:noTabs=true:
+/* c-basic-offset: 2; tab-width: 8; indent-tabs-mode: nil
+ * vi: set shiftwidth=2 tabstop=8 expandtab:
+ * :indentSize=2:tabSize=8:noTabs=true:
*/
#include "config.h"
@@ -551,10 +551,10 @@ proto_reg_handoff_skinny(void)
*
* Local variables:
* c-basic-offset: 2
- * tab-width: 2
+ * tab-width: 8
* indent-tabs-mode: nil
* End:
*
- * vi: set shiftwidth=2 tabstop=2 expandtab:
- * :indentSize=2:tabSize=2:noTabs=true:
+ * vi: set shiftwidth=2 tabstop=8 expandtab:
+ * :indentSize=2:tabSize=8:noTabs=true:
*/