Introduction
Introduction Statistics Contact Development Disclaimer Help
explicit declaration of extern variables - ploot - simple plotting tools
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65…
Log
Files
Refs
Tags
README
LICENSE
---
commit 1a7e49697644fe2740519b2c5f62a314e675c616
parent f40c90855b60ca35db31fa76f058a3c250a45ffd
Author: Marc Chantreux <[email protected]>
Date: Tue, 8 Jun 2021 08:55:14 +0200
explicit declaration of extern variables
to please -std=c99
Diffstat:
M src/font.h | 4 ++--
M src/log.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/font.h b/src/font.h
@@ -11,8 +11,8 @@ struct font {
char *glyph[128]; /* 0: end, 1: off, 2: on. */
};
-struct font font8;
-struct font font13;
+extern struct font font8;
+extern struct font font13;
/**/
size_t font_width (struct font *, int);
diff --git a/src/log.h b/src/log.h
@@ -4,7 +4,7 @@
#include <stdarg.h>
/**/
-int log_level;
+extern int log_level;
void vlogf (int, char const *, char cons…
void die (int, char const *, ...);
void error (char const *, ...);
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.