summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2021-10-24 02:34:46 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2021-10-24 02:34:46 +0200
commit60528d59134b42015c11e923337ecb85eb342df2 (patch)
treec86e967c933dcd4b17a6c63711777dbaacc93a94
parent5f6b1e98dd8bd3d37189a2d606b86ebbc4aa0d0b (diff)
errno.h: always define errno
-rw-r--r--libpsx/include/errno.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpsx/include/errno.h b/libpsx/include/errno.h
index cfaa8fd..0a68f75 100644
--- a/libpsx/include/errno.h
+++ b/libpsx/include/errno.h
@@ -15,9 +15,7 @@
* BSD license
*/
-#ifndef __IN_LIBPSX
extern int errno;
-#endif
#define EPERM 1 /* Operation not permitted */
#define ENOENT 2 /* No such file or directory */