summaryrefslogtreecommitdiff
path: root/netware/geterrnoptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'netware/geterrnoptr.c')
-rw-r--r--netware/geterrnoptr.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/netware/geterrnoptr.c b/netware/geterrnoptr.c
new file mode 100644
index 0000000000..065d33e84d
--- /dev/null
+++ b/netware/geterrnoptr.c
@@ -0,0 +1,9 @@
+/* Moved into a separate source file -- can be eliminated later */
+
+#include <errno.h>
+
+int *__get_errno_ptr(void)
+{
+ return ___errno();
+}
+