explicit declaration of extern variables - ics2txt - convert icalendar .ics file to plain text HTML git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ics2txt DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 913acb57c2ba058e98d9868e5b208dc6fc07d1f5 DIR parent a4a732a0c83bad3e10b89244e4ca229b077c2ffa HTML Author: Marc Chantreux <eiro@phear.org> Date: Fri, 11 Jun 2021 20:25:56 +0200 explicit declaration of extern variables to please -std=c99 Diffstat: M src/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/src/log.h b/src/log.h @@ -4,8 +4,8 @@ #include <stdarg.h> /** src/log.c **/ -int log_level; -char *log_arg0; +extern int log_level; +extern char *log_arg0; void vlogf(int level, char const *flag, char const *fmt, va_list va); void die(char const *fmt, ...); void warn(char const *fmt, ...);