aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 0adbed4e7..ad3cc9332 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -234,7 +234,8 @@ typedef unsigned smalluint;
234#endif 234#endif
235 235
236#if defined(__dietlibc__) 236#if defined(__dietlibc__)
237static ATTRIBUTE_ALWAYS_INLINE char* strchrnul(const char *s, char c) { 237static ATTRIBUTE_ALWAYS_INLINE char* strchrnul(const char *s, char c)
238{
238 while (*s && *s != c) ++s; 239 while (*s && *s != c) ++s;
239 return (char*)s; 240 return (char*)s;
240} 241}