Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-05-03 00:10:20 -0400
committerAllan McRae <allan@archlinux.org>2018-05-14 09:59:15 +1000
commit860e4c4943ad062bd0eff99f28e7d64804b3c08e (patch)
tree161b0a4096b2f4bfce79e468d7c7cb133d70e7b9 /src/common
parent9aec7c3c7225ec9a2ae1124eca612a709f7abddf (diff)
Remove all modelines from the project
Many of these are pointless (e.g. there is no need to explicitly turn on spellchecking and language dictionaries for the manpages by default). The only useful modelines are the ones enforcing the project coding standards for indentation style (and "maybe" filetype/syntax, but everything except the asciidoc manpages and makepkg.conf is already autodetected), and indent style can be applied more easily with .editorconfig Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Makefile.am2
-rw-r--r--src/common/ini.c2
-rw-r--r--src/common/ini.h2
-rw-r--r--src/common/util-common.c2
-rw-r--r--src/common/util-common.h2
5 files changed, 0 insertions, 10 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index ba402b2d..c0e37273 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -1,4 +1,2 @@
EXTRA_DIST = \
util-common.h util-common.c
-
-# vim:set noet:
diff --git a/src/common/ini.c b/src/common/ini.c
index ae5d555d..9d656781 100644
--- a/src/common/ini.c
+++ b/src/common/ini.c
@@ -107,5 +107,3 @@ cleanup:
free(section_name);
return ret;
}
-
-/* vim: set noet: */
diff --git a/src/common/ini.h b/src/common/ini.h
index 22dbed91..6d2b264a 100644
--- a/src/common/ini.h
+++ b/src/common/ini.h
@@ -26,5 +26,3 @@ typedef int (ini_parser_fn)(const char *file, int line, const char *section,
int parse_ini(const char *file, ini_parser_fn cb, void *data);
#endif /* PM_INI_H */
-
-/* vim: set noet: */
diff --git a/src/common/util-common.c b/src/common/util-common.c
index f45524b0..3aa0eac9 100644
--- a/src/common/util-common.c
+++ b/src/common/util-common.c
@@ -197,5 +197,3 @@ char *strndup(const char *s, size_t n)
return (char *)memcpy(new, s, len);
}
#endif
-
-/* vim: set noet: */
diff --git a/src/common/util-common.h b/src/common/util-common.h
index 5e886c82..3434e1eb 100644
--- a/src/common/util-common.h
+++ b/src/common/util-common.h
@@ -39,5 +39,3 @@ char *strndup(const char *s, size_t n);
#define ARRAYSIZE(a) (sizeof (a) / sizeof (a[0]))
#endif /* PM_UTIL_COMMON_H */
-
-/* vim: set noet: */