errno is now extern

This commit is contained in:
Gitea 2020-12-16 16:35:08 -06:00
parent 286b072a89
commit 8e8dc98db5

View file

@ -12,13 +12,7 @@
#ifndef _FLC_ERRNO #ifndef _FLC_ERRNO
#define _FLC_ERRNO #define _FLC_ERRNO
/* extern int errno;
Eh, this may not be "correct". Should it be static?
A pointer? Something else entirely?
This probably isn't thread-safe. Should it be?
-Kat
*/
static int errno;
#define E2BIG 1 #define E2BIG 1
#define EACCESS 2 #define EACCESS 2