summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/strchrnul.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/compat/strchrnul.c b/compat/strchrnul.c
deleted file mode 100644
index 51839feb6e..0000000000
--- a/compat/strchrnul.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "../git-compat-util.h"
-
-char *gitstrchrnul(const char *s, int c)
-{
- while (*s && *s != c)
- s++;
- return (char *)s;
-}