From 896e28812c51b9ffdf3efc00c7d7ef699e380a58 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 14:00:51 -0400 Subject: formatting --- src/errno/EDOM.c | 4 +++- src/errno/ERANGE.c | 4 +++- src/errno/__errno.c | 1 - src/errno/errno.c | 4 ---- 4 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src/errno') 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 #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 #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 #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 #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) */ -- cgit v1.2.1