summaryrefslogtreecommitdiff
path: root/caputils
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-06 17:41:38 +0000
committerJoão Valverde <j@v6e.pt>2016-03-08 10:46:35 +0000
commit5f8003e949d36f627dd7e46d98d32ef93cea333b (patch)
tree17501d0aefdd9e0ed1f337466359db3baae180e8 /caputils
parente22b4008c660dde31e67b4017b69e882a75ca3ef (diff)
downloadwireshark-5f8003e949d36f627dd7e46d98d32ef93cea333b.tar.gz
Add EditorConfig settings for most C files
Change-Id: I02e6d71290bbdf7504437b0d670955b3686b6b52 Reviewed-on: https://code.wireshark.org/review/14360 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'caputils')
-rw-r--r--caputils/.editorconfig21
-rw-r--r--caputils/Makefile.am1
2 files changed, 22 insertions, 0 deletions
diff --git a/caputils/.editorconfig b/caputils/.editorconfig
new file mode 100644
index 0000000000..cd0ff58912
--- /dev/null
+++ b/caputils/.editorconfig
@@ -0,0 +1,21 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[capture-pcap-util-unix.[ch]]
+indent_style = tab
+indent_size = tab
+
+[capture-pcap-util.[ch]]
+indent_style = tab
+indent_size = tab
+
+[capture-wpcap.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ws80211_utils.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/caputils/Makefile.am b/caputils/Makefile.am
index bcfad3eb91..6b12d13f17 100644
--- a/caputils/Makefile.am
+++ b/caputils/Makefile.am
@@ -43,6 +43,7 @@ MAINTAINERCLEANFILES = \
Makefile.in
EXTRA_DIST = \
+ .editorconfig \
$(GENERATOR_FILES) \
airpcap.h \
airpcap_loader.c \