summaryrefslogtreecommitdiff
path: root/src/string
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/string
parent1ed155971e7a2dbb84756255cb7474ff5c1c9b17 (diff)
remove extraneous #undef directives
Diffstat (limited to 'src/string')
-rw-r--r--src/string/strcat.c1
-rw-r--r--src/string/strchr.c1
-rw-r--r--src/string/strcpy.c1
-rw-r--r--src/string/strncpy.c1
-rw-r--r--src/string/strpbrk.c1
-rw-r--r--src/string/strstr.c1
-rw-r--r--src/string/strtok.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/src/string/strcat.c b/src/string/strcat.c
index 547eac3e..5f5da102 100644
--- a/src/string/strcat.c
+++ b/src/string/strcat.c
@@ -1,6 +1,5 @@
#include <string.h>
#include "_safety.h"
-#undef strcat
/** concatenate strings **/
char * strcat(char * restrict s1, const char * restrict s2)
diff --git a/src/string/strchr.c b/src/string/strchr.c
index 5793743b..92557030 100644
--- a/src/string/strchr.c
+++ b/src/string/strchr.c
@@ -1,6 +1,5 @@
#include <string.h>
#include "_safety.h"
-#undef strchr
/** string search **/
diff --git a/src/string/strcpy.c b/src/string/strcpy.c
index aa567374..1faf6409 100644
--- a/src/string/strcpy.c
+++ b/src/string/strcpy.c
@@ -1,6 +1,5 @@
#include <string.h>
#include "_safety.h"
-#undef strcpy
/** copy string **/
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index 94fcc2f5..2b4c40d1 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -1,6 +1,5 @@
#include <string.h>
#include "_safety.h"
-#undef strncpy
/** copy bounded string **/
diff --git a/src/string/strpbrk.c b/src/string/strpbrk.c
index 2d2a95b4..714c282a 100644
--- a/src/string/strpbrk.c
+++ b/src/string/strpbrk.c
@@ -1,6 +1,5 @@
#include <string.h>
#include "_safety.h"
-#undef strpbrk
/** count matching characters **/
diff --git a/src/string/strstr.c b/src/string/strstr.c
index d4f26f37..fa5db853 100644
--- a/src/string/strstr.c
+++ b/src/string/strstr.c
@@ -1,6 +1,5 @@
#include <string.h>
#include "_safety.h"
-#undef strstr
/** search for substring **/
diff --git a/src/string/strtok.c b/src/string/strtok.c
index a1ddeadc..69b7fcc8 100644
--- a/src/string/strtok.c
+++ b/src/string/strtok.c
@@ -1,6 +1,5 @@
#include <string.h>
#include "_safety.h"
-#undef strtok
/** split string into tokens **/