summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stdio.c2
-rw-r--r--stdlib.c4
-rw-r--r--string.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/stdio.c b/stdio.c
index 49a0a3b..85dcf55 100644
--- a/stdio.c
+++ b/stdio.c
@@ -4,7 +4,7 @@
FILE *test_file;
fpos_t test_fpos;
-size_t test_size;
+extern size_t test_size;
void test_stdio_h(void)
{
diff --git a/stdlib.c b/stdlib.c
index 954031e..3189677 100644
--- a/stdlib.c
+++ b/stdlib.c
@@ -4,8 +4,8 @@
div_t test_div;
ldiv_t test_ldiv;
-size_t test_size;
-wchar_t test_wchar;
+extern size_t test_size;
+extern wchar_t test_wchar;
void test_stdlib_h(void)
{
diff --git a/string.c b/string.c
index f1174ec..e051b0b 100644
--- a/string.c
+++ b/string.c
@@ -1,7 +1,7 @@
#include <string.h>
#include "test.h"
-size_t test_size;
+extern size_t test_size;
void test_string_h(void)
{