diff options
author | Toomas Soome <tsoome@me.com> | 2020-10-15 14:53:49 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-10-20 18:26:04 +0300 |
commit | 6ffde572b778ee5005a114c9457ced33a6d5141e (patch) | |
tree | 3114225c72c4467d5eb874e21b7802833f274d30 /usr/src/common | |
parent | 9e369d105cd3d4aa6ce8fcd212306d290e67d94a (diff) | |
download | illumos-joyent-6ffde572b778ee5005a114c9457ced33a6d5141e.tar.gz |
13226 strtol: 'NULL' undeclared
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/common')
-rw-r--r-- | usr/src/common/util/strtol.c | 5 | ||||
-rw-r--r-- | usr/src/common/util/strtoll.c | 5 | ||||
-rw-r--r-- | usr/src/common/util/strtoul.c | 5 | ||||
-rw-r--r-- | usr/src/common/util/strtoull.c | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/usr/src/common/util/strtol.c b/usr/src/common/util/strtol.c index aeed49ca83..cd63eaf65e 100644 --- a/usr/src/common/util/strtol.c +++ b/usr/src/common/util/strtol.c @@ -31,8 +31,11 @@ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ -#if defined(_KERNEL) && !defined(_BOOT) +#if defined(_KERNEL) #include <sys/null.h> +#endif /* _KERNEL */ + +#if defined(_KERNEL) && !defined(_BOOT) #include <sys/errno.h> #else /* _KERNEL && !_BOOT */ #if !defined(_BOOT) && !defined(_KMDB) && !defined(_STANDALONE) diff --git a/usr/src/common/util/strtoll.c b/usr/src/common/util/strtoll.c index 05dcdd56da..5a57ef6ed3 100644 --- a/usr/src/common/util/strtoll.c +++ b/usr/src/common/util/strtoll.c @@ -27,8 +27,11 @@ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ -#if defined(_KERNEL) && !defined(_BOOT) +#if defined(_KERNEL) #include <sys/null.h> +#endif /* _KERNEL */ + +#if defined(_KERNEL) && !defined(_BOOT) #include <sys/errno.h> #else /* _KERNEL && !_BOOT */ #if !defined(_BOOT) && !defined(_KMDB) && !defined(_STANDALONE) diff --git a/usr/src/common/util/strtoul.c b/usr/src/common/util/strtoul.c index f890afc262..c2bbde243e 100644 --- a/usr/src/common/util/strtoul.c +++ b/usr/src/common/util/strtoul.c @@ -27,8 +27,11 @@ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ -#if defined(_KERNEL) && !defined(_BOOT) +#if defined(_KERNEL) #include <sys/null.h> +#endif /* _KERNEL */ + +#if defined(_KERNEL) && !defined(_BOOT) #include <sys/errno.h> #else /* _KERNEL && !_BOOT */ #if !defined(_BOOT) && !defined(_KMDB) && !defined(_STANDALONE) diff --git a/usr/src/common/util/strtoull.c b/usr/src/common/util/strtoull.c index 4a415f37d2..7b048ad9e0 100644 --- a/usr/src/common/util/strtoull.c +++ b/usr/src/common/util/strtoull.c @@ -27,8 +27,11 @@ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ -#if defined(_KERNEL) && !defined(_BOOT) +#if defined(_KERNEL) #include <sys/null.h> +#endif /* _KERNEL */ + +#if defined(_KERNEL) && !defined(_BOOT) #include <sys/errno.h> #else /* _KERNEL && !_BOOT */ #if !defined(_BOOT) && !defined(_KMDB) && !defined(_STANDALONE) |