summaryrefslogtreecommitdiff
path: root/src/string
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
commit489bef2ace3c3c617f5bf78ded45a5b81fe2fd46 (patch)
treef7df0cd2678ebe868356e9a00952555a28a75214 /src/string
parent3e282018ffb5806cafafeb5d0d6f8d67c9bb86e8 (diff)
add src/ to -I and exorcise ../ from #include
Diffstat (limited to 'src/string')
-rw-r--r--src/string/memchr.c2
-rw-r--r--src/string/memcmp.c2
-rw-r--r--src/string/memcpy.c2
-rw-r--r--src/string/memmove.c2
-rw-r--r--src/string/memset.c2
-rw-r--r--src/string/strcat.c2
-rw-r--r--src/string/strchr.c2
-rw-r--r--src/string/strcmp.c2
-rw-r--r--src/string/strcoll.c2
-rw-r--r--src/string/strcpy.c2
-rw-r--r--src/string/strcspn.c2
-rw-r--r--src/string/strlen.c2
-rw-r--r--src/string/strncat.c2
-rw-r--r--src/string/strncmp.c2
-rw-r--r--src/string/strncpy.c2
-rw-r--r--src/string/strpbrk.c2
-rw-r--r--src/string/strrchr.c2
-rw-r--r--src/string/strspn.c2
-rw-r--r--src/string/strstr.c2
-rw-r--r--src/string/strtok.c2
-rw-r--r--src/string/strxfrm.c2
21 files changed, 21 insertions, 21 deletions
diff --git a/src/string/memchr.c b/src/string/memchr.c
index 9b795e9b..02fdfcdc 100644
--- a/src/string/memchr.c
+++ b/src/string/memchr.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** search memory **/
void * memchr(const void *s, int c, size_t n)
diff --git a/src/string/memcmp.c b/src/string/memcmp.c
index eaf4cf40..20cb6df5 100644
--- a/src/string/memcmp.c
+++ b/src/string/memcmp.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** compare memory regions **/
int memcmp(const void *s1, const void *s2, size_t n)
diff --git a/src/string/memcpy.c b/src/string/memcpy.c
index 43ac292e..835411f3 100644
--- a/src/string/memcpy.c
+++ b/src/string/memcpy.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** copy memory **/
void * memcpy(void * restrict s1, const void * restrict s2, size_t n)
diff --git a/src/string/memmove.c b/src/string/memmove.c
index ec8e785d..5d72c862 100644
--- a/src/string/memmove.c
+++ b/src/string/memmove.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** move memory **/
void * memmove(void *s1, const void *s2, size_t n)
diff --git a/src/string/memset.c b/src/string/memset.c
index 2fdb8551..9addc413 100644
--- a/src/string/memset.c
+++ b/src/string/memset.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** fill memory **/
void * memset(void *s, int c, size_t n)
diff --git a/src/string/strcat.c b/src/string/strcat.c
index 75364ad3..51737787 100644
--- a/src/string/strcat.c
+++ b/src/string/strcat.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** concatenate strings **/
char * strcat(char * restrict s1, const char * restrict s2)
diff --git a/src/string/strchr.c b/src/string/strchr.c
index 2ee80c9b..f8a65bab 100644
--- a/src/string/strchr.c
+++ b/src/string/strchr.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** string search **/
char * strchr(const char *s, int c)
diff --git a/src/string/strcmp.c b/src/string/strcmp.c
index f8863fba..8925d1be 100644
--- a/src/string/strcmp.c
+++ b/src/string/strcmp.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** compare strings **/
int strcmp(const char *s1, const char *s2)
diff --git a/src/string/strcoll.c b/src/string/strcoll.c
index afdf868e..a6a44e8d 100644
--- a/src/string/strcoll.c
+++ b/src/string/strcoll.c
@@ -1,6 +1,6 @@
#include <string.h>
#include "stdlib.h"
-#include "../_assert.h"
+#include "_assert.h"
/** collate strings **/
int strcoll(const char *s1, const char *s2)
diff --git a/src/string/strcpy.c b/src/string/strcpy.c
index 915701d9..ea8a9a1f 100644
--- a/src/string/strcpy.c
+++ b/src/string/strcpy.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** copy string **/
char * strcpy(char * restrict s1, const char * restrict s2)
diff --git a/src/string/strcspn.c b/src/string/strcspn.c
index 5ae42e04..49f7d92b 100644
--- a/src/string/strcspn.c
+++ b/src/string/strcspn.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** count non-matching characters **/
size_t strcspn(const char *s1, const char *s2)
diff --git a/src/string/strlen.c b/src/string/strlen.c
index 3405b252..53e62e98 100644
--- a/src/string/strlen.c
+++ b/src/string/strlen.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** find string length **/
size_t strlen(const char *s)
diff --git a/src/string/strncat.c b/src/string/strncat.c
index 17ed6b40..e2a64ad5 100644
--- a/src/string/strncat.c
+++ b/src/string/strncat.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** concatenate bounded string **/
char * strncat(char * restrict s1, const char * restrict s2, size_t n)
diff --git a/src/string/strncmp.c b/src/string/strncmp.c
index f5647d33..340ac6b8 100644
--- a/src/string/strncmp.c
+++ b/src/string/strncmp.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** compare bound strings **/
int strncmp(const char *s1, const char *s2, size_t n)
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index 290d36c3..0ecd19fc 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** copy bounded string **/
char * strncpy(char * restrict s1, const char * restrict s2, size_t n)
diff --git a/src/string/strpbrk.c b/src/string/strpbrk.c
index e5dfc52d..096917ff 100644
--- a/src/string/strpbrk.c
+++ b/src/string/strpbrk.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** count matching characters **/
char * strpbrk(const char *s1, const char *s2)
diff --git a/src/string/strrchr.c b/src/string/strrchr.c
index fe40c5db..799fb3dd 100644
--- a/src/string/strrchr.c
+++ b/src/string/strrchr.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** search string from end **/
char * strrchr(const char *s, int c)
diff --git a/src/string/strspn.c b/src/string/strspn.c
index 677d43c2..450b541f 100644
--- a/src/string/strspn.c
+++ b/src/string/strspn.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** count matching characters **/
size_t strspn(const char *s1, const char *s2)
diff --git a/src/string/strstr.c b/src/string/strstr.c
index 7aaad5ad..bdcabc9e 100644
--- a/src/string/strstr.c
+++ b/src/string/strstr.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** search for substring **/
char * strstr(const char *s1, const char *s2)
diff --git a/src/string/strtok.c b/src/string/strtok.c
index b4d77305..141d3982 100644
--- a/src/string/strtok.c
+++ b/src/string/strtok.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** split string into tokens **/
char * strtok(char * restrict s1, const char * restrict s2)
diff --git a/src/string/strxfrm.c b/src/string/strxfrm.c
index 4c640a26..eb4a6d15 100644
--- a/src/string/strxfrm.c
+++ b/src/string/strxfrm.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include "../_assert.h"
+#include "_assert.h"
/** transform string **/
size_t strxfrm(char * restrict s1, const char * restrict s2, size_t n)