From 5608b687ac1a10b1cc525d8e61d0abfce2f5737d Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 28 Feb 2019 14:20:16 -0500 Subject: new --- src/nonstd/lib-internal.ref | 2 ++ src/stdlib/atexit.c | 2 +- src/stdlib/exit.c | 1 - src/stdlib/rand.c | 2 +- src/stdlib/srand.c | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 src/nonstd/lib-internal.ref (limited to 'src') diff --git a/src/nonstd/lib-internal.ref b/src/nonstd/lib-internal.ref new file mode 100644 index 00000000..3361d2f6 --- /dev/null +++ b/src/nonstd/lib-internal.ref @@ -0,0 +1,2 @@ +#include +REFERENCE() diff --git a/src/stdlib/atexit.c b/src/stdlib/atexit.c index 180dc5e2..aeb9172c 100644 --- a/src/stdlib/atexit.c +++ b/src/stdlib/atexit.c @@ -1,6 +1,6 @@ #include #include "errno.h" -#include "nonstd/internal.h" +#include "nonstd/lib.h" /** register a function to run at program exit **/ diff --git a/src/stdlib/exit.c b/src/stdlib/exit.c index f69f01c7..501131e4 100644 --- a/src/stdlib/exit.c +++ b/src/stdlib/exit.c @@ -1,7 +1,6 @@ #include #include "limits.h" #include "stddef.h" -#include "nonstd/internal.h" #include "nonstd/syscall.h" /** cause normal program termination **/ diff --git a/src/stdlib/rand.c b/src/stdlib/rand.c index 459332ce..f1a3e3e1 100644 --- a/src/stdlib/rand.c +++ b/src/stdlib/rand.c @@ -1,5 +1,5 @@ #include -#include "nonstd/internal.h" +#include "nonstd/lib.h" #include "_rand.h" /** get a pseudo-random number **/ diff --git a/src/stdlib/srand.c b/src/stdlib/srand.c index 66ce786e..97ed2fec 100644 --- a/src/stdlib/srand.c +++ b/src/stdlib/srand.c @@ -1,5 +1,5 @@ #include -#include "nonstd/internal.h" +#include "nonstd/lib.h" /** seed the pseudo-random number generator **/ -- cgit v1.2.1