summaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 00:10:16 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 00:10:16 -0500
commit54c81c3b7f90a576135c46ded5328e6b34ad1deb (patch)
tree2a3040d241188a1eb84abe000b0bb2f48530e5ef /src/stdlib
parent1ed155971e7a2dbb84756255cb7474ff5c1c9b17 (diff)
remove extraneous #undef directives
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/abort.c2
-rw-r--r--src/stdlib/div.c1
-rw-r--r--src/stdlib/rand.c1
3 files changed, 0 insertions, 4 deletions
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 <signal.h>
#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 <stdlib.h>
#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)