From 860e4c4943ad062bd0eff99f28e7d64804b3c08e Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 3 May 2018 00:10:20 -0400 Subject: 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 Signed-off-by: Allan McRae --- src/common/Makefile.am | 2 -- src/common/ini.c | 2 -- src/common/ini.h | 2 -- src/common/util-common.c | 2 -- src/common/util-common.h | 2 -- 5 files changed, 10 deletions(-) (limited to 'src/common') 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: */ -- cgit v1.2.3-70-g09d2