mlibc: errno.h: declare errno without extern.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 11 Nov 2017 12:42:42 +0000 (13:42 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 11 Nov 2017 12:42:42 +0000 (13:42 +0100)
* mlibc/include/errno.h: drop extern.  Fixes tcc compile.

mlibc/include/errno.h

index 36e027c75a9d00d8bc4705fd36adff6fb542537b..a429d58b3c962fae8796de6c99ac1cc78c450f12 100644 (file)
@@ -27,7 +27,7 @@
 #undef __MES_ERRNO_H
 #include_next <errno.h>
 #else // ! (__GNUC__ && POSIX)
-extern int errno;
+int errno;
 #endif // ! (__GNUC__ && POSIX)
 
 #endif // __MES_ERRNO_H