summaryrefslogtreecommitdiff
path: root/src/strings
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 15:38:37 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 15:38:37 -0400
commitf0a624cdb494275d3d0e5049eff07ceaa7ebe848 (patch)
tree93a6bf21675c421f1dc5bd3513825090ada7eabb /src/strings
parent1f4e410fdcff7cc96c5a0c0fb97172871d0ae347 (diff)
cleanup headers
Diffstat (limited to 'src/strings')
-rw-r--r--src/strings/index.c2
-rw-r--r--src/strings/rindex.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/strings/index.c b/src/strings/index.c
index 22126d81..0d5ca277 100644
--- a/src/strings/index.c
+++ b/src/strings/index.c
@@ -1,5 +1,5 @@
+#include <string.h>
#include <strings.h>
-#include "string.h"
char *index(const char *s, int c)
{
diff --git a/src/strings/rindex.c b/src/strings/rindex.c
index 17bae7e3..2050de25 100644
--- a/src/strings/rindex.c
+++ b/src/strings/rindex.c
@@ -1,3 +1,4 @@
+#include <string.h>
#include <strings.h>
char *rindex(const char *s, int c)