summaryrefslogtreecommitdiff
path: root/src/errno
diff options
context:
space:
mode:
Diffstat (limited to 'src/errno')
-rw-r--r--src/errno/EDOM.c4
-rw-r--r--src/errno/ERANGE.c4
-rw-r--r--src/errno/__errno.c1
-rw-r--r--src/errno/errno.c4
4 files changed, 6 insertions, 7 deletions
diff --git a/src/errno/EDOM.c b/src/errno/EDOM.c
index 927df956..ea1999d7 100644
--- a/src/errno/EDOM.c
+++ b/src/errno/EDOM.c
@@ -1,10 +1,12 @@
-#include <errno.h>
#define EDOM (1)
+
/** domain error **/
+
/***
is used to indicate that an argument supplied to a function is outside the
defined input domain.
***/
+
/*
STDC(1)
*/
diff --git a/src/errno/ERANGE.c b/src/errno/ERANGE.c
index c3c757e4..c6fb0bdf 100644
--- a/src/errno/ERANGE.c
+++ b/src/errno/ERANGE.c
@@ -1,9 +1,11 @@
-#include <errno.h>
#define ERANGE (2)
+
/** out of range **/
+
/***
is used to indicated that the result of an operation is too large or too small.
***/
+
/*
STDC(1)
*/
diff --git a/src/errno/__errno.c b/src/errno/__errno.c
index 9ab71722..e4a329f2 100644
--- a/src/errno/__errno.c
+++ b/src/errno/__errno.c
@@ -1,4 +1,3 @@
-#include <errno.h>
#include "_perthread.h"
/*
diff --git a/src/errno/errno.c b/src/errno/errno.c
index 007526b8..c0f379c5 100644
--- a/src/errno/errno.c
+++ b/src/errno/errno.c
@@ -1,4 +1,3 @@
-#include <errno.h>
#define errno (*__errno())
/** get system errors **/
@@ -16,8 +15,5 @@ description.
UNSPECIFIED(Whether THIS() is declared as a macro or an identifier with external linkage (C89, C95, and C99 only))
UNDEFINED(A macro definition of THIS() is suppressed)
UNDEFINED(A program defines an identifier named THIS())
-*/
-
-/*
STDC(1)
*/