Remove non-portable "extern int errno" declaration

Declaring errno as an extern int breaks when errno is implemented
as a macro (as is allowed by POSIX). Specifically it breaks
building fish-shell on Android.
This commit is contained in:
Fredrik Fornwall 2015-07-16 12:30:33 +02:00 committed by ridiculousfish
parent 9fd6b5e1e2
commit a4b17b162c

View file

@ -47,8 +47,6 @@
#define TRUE (!FALSE)
#endif
extern int errno;
typedef struct XdgMimeMagicMatch XdgMimeMagicMatch;
typedef struct XdgMimeMagicMatchlet XdgMimeMagicMatchlet;