]> git.corax.cc Git - corax/commitdiff
include: Add global errno variable to errno.h
authorMatthias Kruk <m@m10k.eu>
Sun, 26 Jul 2020 04:15:38 +0000 (13:15 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 26 Jul 2020 04:15:45 +0000 (13:15 +0900)
include/errno.h

index 0dea0a884829199293c9542775a0bd03147ae8c8..5069c4762da934c9c0fb374b9585a5efc8429694 100644 (file)
@@ -3,6 +3,6 @@
 
 #include <corax/errno.h>
 
-#define errno (-ENOSYS)
+int errno;
 
 #endif /* ERRNO_H */