Introduction
Introduction Statistics Contact Development Disclaimer Help
explicit declaration of extern variables - ics2txt - convert icalendar .ics fil…
git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws…
Log
Files
Refs
Tags
README
---
commit 913acb57c2ba058e98d9868e5b208dc6fc07d1f5
parent a4a732a0c83bad3e10b89244e4ca229b077c2ffa
Author: Marc Chantreux <[email protected]>
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(-)
---
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, ...);
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.