From a08b8ee38a66160dc7819b94e6e84a55fd124c55 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 3 Aug 2018 01:32:33 +0200 Subject: [PATCH] Add missing '*' to Emacs local variables indentation hinting A local variables section must start with /** otherwise Emacs will prompt the user every time if the settings should be applied. Signed-off-by: Joachim Nilsson --- src/klogd.c | 3 ++- src/ksym.c | 2 +- src/ksym_mod.c | 5 +++-- src/syslogd.c | 3 +-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/klogd.c b/src/klogd.c index 448c850..f80bba1 100644 --- a/src/klogd.c +++ b/src/klogd.c @@ -1185,7 +1185,8 @@ int main(argc, argv) } } } -/* + +/** * Local variables: * c-indent-level: 8 * c-basic-offset: 8 diff --git a/src/ksym.c b/src/ksym.c index 639bbb7..761eabe 100644 --- a/src/ksym.c +++ b/src/ksym.c @@ -939,7 +939,7 @@ extern void Syslog(int priority, char *fmt, ...) } #endif -/* +/** * Local variables: * c-indent-level: 8 * c-basic-offset: 8 diff --git a/src/ksym_mod.c b/src/ksym_mod.c index 2cdd104..1a45c85 100644 --- a/src/ksym_mod.c +++ b/src/ksym_mod.c @@ -611,8 +611,9 @@ extern void Syslog(int priority, char *fmt, ...) return; } -#endif -/* +#endif /* TEST */ + +/** * Local variables: * c-indent-level: 8 * c-basic-offset: 8 diff --git a/src/syslogd.c b/src/syslogd.c index ba0d126..a8a93d9 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -3113,11 +3113,10 @@ void sighup_handler() return; } -/* +/** * Local variables: * c-indent-level: 8 * c-basic-offset: 8 * tab-width: 8 * End: */ -