summaryrefslogtreecommitdiff
path: root/bsd-strsep.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-11 21:34:34 +1000
committerDamien Miller <djm@mindrot.org>2000-07-11 21:34:34 +1000
commit3077fb9e6b642a2531754b451bba25245d20dfac (patch)
tree5600827403c62387c4e3e8df9725f92fa570f184 /bsd-strsep.h
parent54ba469f20ff65fad2cc011ba2f83b17dce002f4 (diff)
- (djm) Add strsep function from OpenBSD libc for systems that lack it
Diffstat (limited to 'bsd-strsep.h')
-rw-r--r--bsd-strsep.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/bsd-strsep.h b/bsd-strsep.h
new file mode 100644
index 000000000..d5ba6e0f1
--- /dev/null
+++ b/bsd-strsep.h
@@ -0,0 +1,10 @@
1#ifndef _BSD_STRSEP_H
2#define _BSD_STRSEP_H
3
4#include "config.h"
5
6#ifndef HAVE_STRSEP
7char *strsep(char **stringp, const char *delim);
8#endif /* HAVE_STRSEP */
9
10#endif /* _BSD_STRSEP_H */