aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.editorconfig47
-rw-r--r--Makefile.am1
-rw-r--r--caputils/.editorconfig21
-rw-r--r--caputils/Makefile.am1
-rw-r--r--epan/dfilter/.editorconfig57
-rw-r--r--epan/dfilter/Makefile.am1
-rw-r--r--epan/ftypes/.editorconfig41
-rw-r--r--epan/ftypes/Makefile.am1
-rw-r--r--epan/nghttp2/.editorconfig8
-rw-r--r--epan/nghttp2/Makefile.am1
-rw-r--r--epan/wslua/.editorconfig8
-rw-r--r--epan/wslua/Makefile.am1
-rw-r--r--ui/.editorconfig29
-rw-r--r--ui/Makefile.am1
-rw-r--r--ui/cli/.editorconfig87
-rw-r--r--ui/cli/Makefile.am1
-rw-r--r--ui/gtk/.editorconfig221
-rw-r--r--ui/gtk/Makefile.am1
-rw-r--r--ui/win32/.editorconfig8
-rw-r--r--wiretap/.editorconfig145
-rw-r--r--wiretap/Makefile.am1
-rw-r--r--wsutil/.editorconfig140
-rw-r--r--wsutil/Makefile.am1
23 files changed, 821 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index 2a6a8dc0fe..ccbe7960a6 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -23,8 +23,51 @@ indent_style = space
indent_size = 4
charset = utf-8
-# Dissectors
-[epan/dissectors/*.[ch]]
+# C
+[**.[ch]]
indent_style = space
indent_size = 4
charset = utf-8
+
+[{capinfos,captype,mergecap,mkcap,tfshark,tshark}.c]
+indent_size = 2
+
+[{dftest,echld_test,randpkt,trigcap}.c]
+indent_style = tab
+indent_size = tab
+
+[capture_stop_conditions.[ch]]
+indent_size = 2
+
+[cfile.[ch]]
+indent_size = 2
+
+[conditions.[ch]]
+indent_size = 2
+
+[file.[ch]]
+indent_size = 2
+
+[filter_files.[ch]]
+indent_size = 2
+
+[frame_tvbuff.[ch]]
+indent_style = tab
+indent_size = tab
+
+[pcapio.[ch]]
+indent_size = 8
+
+[ringbuffer.[ch]]
+indent_size = 2
+
+[summary.[ch]]
+indent_size = 2
+
+[randpkt_core/randpkt_core.[ch]]
+indent_style = tab
+indent_size = tab
+
+[extcap/{extcap-base,randpktdump,ssh-base,sshdump}.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/Makefile.am b/Makefile.am
index 3695d42ae9..0a8be58b3b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1328,6 +1328,7 @@ EXTRA_DIST = \
cmake/TestFileOffsetBits.c \
cmake/TestLargeFiles.c.cmakein \
cmake/TestWindowsFSeek.c \
+ ui/win32/.editorconfig \
ui/win32/Makefile.nmake \
ui/win32/console_win32.c \
ui/win32/console_win32.h \
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 \
diff --git a/epan/dfilter/.editorconfig b/epan/dfilter/.editorconfig
new file mode 100644
index 0000000000..d8f905b8ac
--- /dev/null
+++ b/epan/dfilter/.editorconfig
@@ -0,0 +1,57 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[dfilter-macro.[ch]]
+indent_style = tab
+indent_size = tab
+
+[dfilter.[ch]]
+indent_style = tab
+indent_size = tab
+
+[dfvm.[ch]]
+indent_style = tab
+indent_size = tab
+
+[gencode.[ch]]
+indent_style = tab
+indent_size = tab
+
+[semcheck.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sttype-function.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sttype-integer.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sttype-pointer.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sttype-range.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sttype-set.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sttype-string.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sttype-test.[ch]]
+indent_style = tab
+indent_size = tab
+
+[syntax-tree.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am
index 929b7230d3..d4e2f1188a 100644
--- a/epan/dfilter/Makefile.am
+++ b/epan/dfilter/Makefile.am
@@ -67,6 +67,7 @@ libdfilter_la_LIBADD = libdfilter_generated.la
libdfilter_la_DEPENDENCIES = libdfilter_generated.la
EXTRA_DIST = \
+ .editorconfig \
$(GENERATOR_FILES) \
Makefile.common \
Makefile.nmake \
diff --git a/epan/ftypes/.editorconfig b/epan/ftypes/.editorconfig
new file mode 100644
index 0000000000..97563d51ee
--- /dev/null
+++ b/epan/ftypes/.editorconfig
@@ -0,0 +1,41 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[ftype-bytes.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-integer.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-ipv4.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-ipv6.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-none.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-string.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-time.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-tvbuff.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftypes.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/epan/ftypes/Makefile.am b/epan/ftypes/Makefile.am
index fd5f0b90bb..a10d1b2c90 100644
--- a/epan/ftypes/Makefile.am
+++ b/epan/ftypes/Makefile.am
@@ -37,6 +37,7 @@ MAINTAINERCLEANFILES = \
libftypes_la_SOURCES = $(NONGENERATED_C_FILES) $(NONGENERATED_HEADER_FILES)
EXTRA_DIST = \
+ .editorconfig \
Makefile.common \
Makefile.nmake \
CMakeLists.txt
diff --git a/epan/nghttp2/.editorconfig b/epan/nghttp2/.editorconfig
new file mode 100644
index 0000000000..2c2a17d45e
--- /dev/null
+++ b/epan/nghttp2/.editorconfig
@@ -0,0 +1,8 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[*.[ch]]
+indent_size = 2
diff --git a/epan/nghttp2/Makefile.am b/epan/nghttp2/Makefile.am
index 78a02a8c44..cb82795f97 100644
--- a/epan/nghttp2/Makefile.am
+++ b/epan/nghttp2/Makefile.am
@@ -42,6 +42,7 @@ libnghttp2_la_SOURCES = \
$(LIBNGHTTP2_INCLUDES)
EXTRA_DIST = \
+ .editorconfig \
Makefile.common \
Makefile.nmake \
README.nghttp2 \
diff --git a/epan/wslua/.editorconfig b/epan/wslua/.editorconfig
new file mode 100644
index 0000000000..a38057ed7e
--- /dev/null
+++ b/epan/wslua/.editorconfig
@@ -0,0 +1,8 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[wslua_struct.[ch]]
+indent_size = 2
diff --git a/epan/wslua/Makefile.am b/epan/wslua/Makefile.am
index 48b20925c1..f003269045 100644
--- a/epan/wslua/Makefile.am
+++ b/epan/wslua/Makefile.am
@@ -95,6 +95,7 @@ MAINTAINERCLEANFILES = \
declare_wslua.h
EXTRA_DIST = \
+ .editorconfig \
declare_wslua.h \
lua_bitop.h \
lrexlib.h \
diff --git a/ui/.editorconfig b/ui/.editorconfig
new file mode 100644
index 0000000000..348f355e76
--- /dev/null
+++ b/ui/.editorconfig
@@ -0,0 +1,29 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[capture.[ch]]
+indent_size = 2
+
+[capture_ui_utils.[ch]]
+indent_size = 2
+
+[preference_utils.[ch]]
+indent_size = 2
+
+[proto_hier_stats.[ch]]
+indent_style = tab
+indent_size = tab
+
+[recent.[ch]]
+indent_size = 2
+
+[tap-rtp-common.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-sctp-analysis.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/ui/Makefile.am b/ui/Makefile.am
index 01c44dbc7c..bd7a7334f7 100644
--- a/ui/Makefile.am
+++ b/ui/Makefile.am
@@ -79,6 +79,7 @@ checkapi-todo:
$(WIRESHARK_UI_SRC)
EXTRA_DIST = \
+ .editorconfig \
$(GENERATOR_FILES) \
CMakeLists.txt \
doxygen.cfg.in \
diff --git a/ui/cli/.editorconfig b/ui/cli/.editorconfig
new file mode 100644
index 0000000000..e66a590bea
--- /dev/null
+++ b/ui/cli/.editorconfig
@@ -0,0 +1,87 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[tap-camelsrt.[ch]]
+indent_size = 2
+
+[tap-comparestat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-diameter-avp.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-endpoints.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-follow.[ch]]
+indent_size = 2
+
+[tap-hosts.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-httpstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-iousers.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-protocolinfo.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-protohierstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-rpcprogs.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-rtd.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-rtspstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-sctpchunkstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-simple_stattable.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-sipstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-smbsids.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-srt.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-stats_tree.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-sv.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-wspstat.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/ui/cli/Makefile.am b/ui/cli/Makefile.am
index 4e723bd49b..74b6473ace 100644
--- a/ui/cli/Makefile.am
+++ b/ui/cli/Makefile.am
@@ -82,6 +82,7 @@ checkapi-todo:
$(TSHARK_TAP_SRC)
EXTRA_DIST = \
+ .editorconfig \
$(GENERATOR_FILES) \
Makefile.common \
Makefile.nmake
diff --git a/ui/gtk/.editorconfig b/ui/gtk/.editorconfig
new file mode 100644
index 0000000000..f3c4e4dd6b
--- /dev/null
+++ b/ui/gtk/.editorconfig
@@ -0,0 +1,221 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[about_dlg.[ch]]
+indent_size = 2
+
+[bytes_view.[ch]]
+indent_style = tab
+indent_size = tab
+
+[capture_dlg.[ch]]
+indent_size = 2
+
+[capture_file_dlg.[ch]]
+indent_size = 2
+
+[capture_if_dlg.[ch]]
+indent_size = 2
+
+[capture_info_dlg.[ch]]
+indent_size = 2
+
+[color_dlg.[ch]]
+indent_size = 2
+
+[color_edit_dlg.[ch]]
+indent_size = 2
+
+[color_utils.[ch]]
+indent_style = tab
+indent_size = tab
+
+[compare_stat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[dcerpc_stat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[edit_packet_comment_dlg.[ch]]
+indent_size = 2
+
+[export_object_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[filter_autocomplete.[ch]]
+indent_size = 2
+
+[filter_expression_save_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[filter_utils.[ch]]
+indent_style = tab
+indent_size = tab
+
+[find_dlg.[ch]]
+indent_size = 2
+
+[flow_graph.[ch]]
+indent_style = tab
+indent_size = tab
+
+[goto_dlg.[ch]]
+indent_size = 2
+
+[graph_analysis.[ch]]
+indent_style = tab
+indent_size = tab
+
+[gsm_map_summary.[ch]]
+indent_size = 2
+
+[gui_stat_util.[ch]]
+indent_style = tab
+indent_size = tab
+
+[iax2_analysis.[ch]]
+indent_style = tab
+indent_size = tab
+
+[macros_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[manual_addr_resolv.[ch]]
+indent_size = 2
+
+[packet_list.[ch]]
+indent_style = tab
+indent_size = tab
+
+[packet_list_store.[ch]]
+indent_style = tab
+indent_size = tab
+
+[packet_win.[ch]]
+indent_style = tab
+indent_size = tab
+
+[pixmap_save.[ch]]
+indent_style = tab
+indent_size = tab
+
+[prefs_capture.[ch]]
+indent_style = tab
+indent_size = tab
+
+[prefs_dlg.[ch]]
+indent_size = 2
+
+[prefs_font_color.[ch]]
+indent_size = 2
+
+[prefs_gui.[ch]]
+indent_style = tab
+indent_size = tab
+
+[print_dlg.[ch]]
+indent_size = 2
+
+[profile_dlg.[ch]]
+indent_size = 2
+
+[proto_dlg.[ch]]
+indent_size = 2
+
+[proto_help.[ch]]
+indent_style = tab
+indent_size = tab
+
+[proto_hier_tree_model.[ch]]
+indent_style = tab
+indent_size = tab
+
+[proto_tree_model.[ch]]
+indent_style = tab
+indent_size = tab
+
+[range_utils.[ch]]
+indent_size = 2
+
+[response_time_delay_table.[ch]]
+indent_style = tab
+indent_size = tab
+
+[rpc_stat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[rtp_analysis.[ch]]
+indent_style = tab
+indent_size = tab
+
+[rtp_player.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sctp_assoc_analyse.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sctp_byte_graph_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sctp_chunk_stat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sctp_error_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sctp_graph_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[sctp_stat_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[service_response_time_table.[ch]]
+indent_style = tab
+indent_size = tab
+
+[simple_dialog.[ch]]
+indent_size = 2
+
+[simple_stattable.[ch]]
+indent_style = tab
+indent_size = tab
+
+[stats_tree_stat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[summary_dlg.[ch]]
+indent_size = 2
+
+[supported_protos_dlg.[ch]]
+indent_size = 2
+
+[time_shift_dlg.[ch]]
+indent_size = 2
+
+[uat_gui.[ch]]
+indent_style = tab
+indent_size = tab
+
+[voip_calls_dlg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[webbrowser.[ch]]
+indent_size = 2
diff --git a/ui/gtk/Makefile.am b/ui/gtk/Makefile.am
index c780ce52ea..61457a4862 100644
--- a/ui/gtk/Makefile.am
+++ b/ui/gtk/Makefile.am
@@ -57,6 +57,7 @@ MAINTAINERCLEANFILES = \
Makefile.in
EXTRA_DIST = \
+ .editorconfig \
$(GENERATOR_FILES) \
airpcap_dlg.c \
airpcap_dlg.h \
diff --git a/ui/win32/.editorconfig b/ui/win32/.editorconfig
new file mode 100644
index 0000000000..530460bd5f
--- /dev/null
+++ b/ui/win32/.editorconfig
@@ -0,0 +1,8 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[console_win32.[ch]]
+indent_size = 2
diff --git a/wiretap/.editorconfig b/wiretap/.editorconfig
new file mode 100644
index 0000000000..12b8a6c721
--- /dev/null
+++ b/wiretap/.editorconfig
@@ -0,0 +1,145 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[5views.[ch]]
+indent_style = tab
+indent_size = tab
+
+[aethra.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ascendtext.[ch]]
+indent_size = 2
+
+[atm.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ber.[ch]]
+indent_size = 2
+
+[capsa.[ch]]
+indent_style = tab
+indent_size = tab
+
+[commview.[ch]]
+indent_style = tab
+indent_size = tab
+
+[cosine.[ch]]
+indent_style = tab
+indent_size = tab
+
+[csids.[ch]]
+indent_size = 2
+
+[daintree-sna.[ch]]
+indent_style = tab
+indent_size = tab
+
+[dct3trace.[ch]]
+indent_style = tab
+indent_size = tab
+
+[erf.[ch]]
+indent_size = 2
+
+[eyesdn.[ch]]
+indent_style = tab
+indent_size = tab
+
+[file_access.[ch]]
+indent_style = tab
+indent_size = tab
+
+[hcidump.[ch]]
+indent_style = tab
+indent_size = tab
+
+[i4btrace.[ch]]
+indent_style = tab
+indent_size = tab
+
+[iptrace.[ch]]
+indent_style = tab
+indent_size = tab
+
+[iseries.[ch]]
+indent_size = 2
+
+[lanalyzer.[ch]]
+indent_size = 6
+
+[libpcap.[ch]]
+indent_style = tab
+indent_size = tab
+
+[mime_file.[ch]]
+indent_style = tab
+indent_size = tab
+
+[mpeg.[ch]]
+indent_style = tab
+indent_size = tab
+
+[netmon.[ch]]
+indent_style = tab
+indent_size = tab
+
+[netscreen.[ch]]
+indent_style = tab
+indent_size = tab
+
+[nettrace_3gpp_32_423.[ch]]
+indent_style = tab
+indent_size = tab
+
+[netxray.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ngsniffer.[ch]]
+indent_style = tab
+indent_size = tab
+
+[packetlogger.[ch]]
+indent_style = tab
+indent_size = tab
+
+[pcap-common.[ch]]
+indent_style = tab
+indent_size = tab
+
+[peekclassic.[ch]]
+indent_style = tab
+indent_size = tab
+
+[pppdump.[ch]]
+indent_style = tab
+indent_size = tab
+
+[radcom.[ch]]
+indent_style = tab
+indent_size = tab
+
+[snoop.[ch]]
+indent_style = tab
+indent_size = tab
+
+[stanag4607.[ch]]
+indent_size = 2
+
+[tnef.[ch]]
+indent_size = 2
+
+[toshiba.[ch]]
+indent_style = tab
+indent_size = tab
+
+[wtap.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am
index d716817767..76cb1a45f4 100644
--- a/wiretap/Makefile.am
+++ b/wiretap/Makefile.am
@@ -56,6 +56,7 @@ libwiretap_generated_la_SOURCES = \
libwiretap_generated_la_CFLAGS = $(GENERATED_CFLAGS)
EXTRA_DIST = \
+ .editorconfig \
README.airmagnet \
README.developer \
Makefile.common \
diff --git a/wsutil/.editorconfig b/wsutil/.editorconfig
new file mode 100644
index 0000000000..dc741c0777
--- /dev/null
+++ b/wsutil/.editorconfig
@@ -0,0 +1,140 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[adler32.[ch]]
+indent_size = 2
+
+[aes.[ch]]
+indent_style = tab
+indent_size = tab
+
+[airpdcap_wep.[ch]]
+indent_style = tab
+indent_size = tab
+
+[base64.[ch]]
+indent_style = tab
+indent_size = tab
+
+[bitswap.[ch]]
+indent_size = 2
+
+[buffer.[ch]]
+indent_style = tab
+indent_size = tab
+
+[cfutils.[ch]]
+indent_style = tab
+indent_size = tab
+
+[clopts_common.[ch]]
+indent_size = 2
+
+[copyright_info.[ch]]
+indent_style = tab
+indent_size = tab
+
+[crash_info.[ch]]
+indent_style = tab
+indent_size = tab
+
+[crc10.[ch]]
+indent_style = tab
+indent_size = tab
+
+[crc32.[ch]]
+indent_style = tab
+indent_size = tab
+
+[des.[ch]]
+indent_style = tab
+indent_size = tab
+
+[file_util.[ch]]
+indent_size = 6
+
+[g711.[ch]]
+indent_style = tab
+indent_size = tab
+
+[inet_aton.[ch]]
+indent_style = tab
+indent_size = tab
+
+[inet_ntop.[ch]]
+indent_style = tab
+indent_size = tab
+
+[inet_pton.[ch]]
+indent_style = tab
+indent_size = tab
+
+[interface.[ch]]
+indent_style = tab
+indent_size = tab
+
+[jsmn.[ch]]
+indent_size = 8
+
+[md4.[ch]]
+indent_style = tab
+indent_size = tab
+
+[mpeg-audio.[ch]]
+indent_style = tab
+indent_size = tab
+
+[os_version_info.[ch]]
+indent_style = tab
+indent_size = tab
+
+[privileges.[ch]]
+indent_style = tab
+indent_size = tab
+
+[rc4.[ch]]
+indent_size = 2
+
+[report_err.[ch]]
+indent_style = tab
+indent_size = tab
+
+[str_util.[ch]]
+indent_style = tab
+indent_size = tab
+
+[strptime.[ch]]
+indent_size = 2
+
+[tempfile.[ch]]
+indent_size = 2
+
+[time_util.[ch]]
+indent_style = tab
+indent_size = tab
+
+[type_util.[ch]]
+indent_size = 2
+
+[u3.[ch]]
+indent_size = 2
+
+[unicode-utils.[ch]]
+indent_size = 2
+
+[ws_mempbrk.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ws_mempbrk_sse42.[ch]]
+indent_size = 2
+
+[ws_version_info.[ch]]
+indent_style = tab
+indent_size = tab
+
+[wsgetopt.[ch]]
+indent_size = 2
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am
index 8711c108e6..3e12fa43fb 100644
--- a/wsutil/Makefile.am
+++ b/wsutil/Makefile.am
@@ -106,6 +106,7 @@ libwsutil_la_LIBADD = \
$(wsutil_optional_objects)
EXTRA_DIST = \
+ .editorconfig \
cfutils.c \
cfutils.h \
CMakeLists.txt \