From 54c81c3b7f90a576135c46ded5328e6b34ad1deb Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 00:10:16 -0500 Subject: remove extraneous #undef directives --- src/stdlib/abort.c | 2 -- src/stdlib/div.c | 1 - src/stdlib/rand.c | 1 - 3 files changed, 4 deletions(-) (limited to 'src/stdlib') diff --git a/src/stdlib/abort.c b/src/stdlib/abort.c index ed762be7..3b17842a 100644 --- a/src/stdlib/abort.c +++ b/src/stdlib/abort.c @@ -2,8 +2,6 @@ #include #include "_stdlib.h" -#undef abort - /** cause abnormal program termination **/ _Noreturn void abort(void) diff --git a/src/stdlib/div.c b/src/stdlib/div.c index 8d515ec6..3cb2df78 100644 --- a/src/stdlib/div.c +++ b/src/stdlib/div.c @@ -1,6 +1,5 @@ #include #include "_stdlib.h" -#undef div /** calculate quotient and remainder **/ diff --git a/src/stdlib/rand.c b/src/stdlib/rand.c index 588522a7..a68dc046 100644 --- a/src/stdlib/rand.c +++ b/src/stdlib/rand.c @@ -1,5 +1,4 @@ #include "_stdlib.h" -#undef rand /** get a pseudo-random number **/ int rand(void) -- cgit v1.2.1