summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-23 22:39:50 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-23 22:39:50 +0200
commitb98cbea48438bd787727f38cac538cfde305f4e2 (patch)
tree53dec4a4938ec13f73cc84fe23f81230ec36c643
parent703a7540f500974a9e5bebdfbcbd5a6bd7c553b3 (diff)
Add prototype for strstr
* include/string.h (strstr): Add prototype.
-rw-r--r--include/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 34423df..b630c04 100644
--- a/include/string.h
+++ b/include/string.h
@@ -50,4 +50,6 @@ extern int strncmp (const char *s1, const char *s2, size_t n);
extern size_t strlen (const char *s);
+extern char *strstr(const char *haystack, const char *needle);
+
#endif /* _MACH_SA_SYS_STRING_H_ */