aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/platform.h')
-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;
#endif
#if defined(__dietlibc__)
-static ATTRIBUTE_ALWAYS_INLINE char* strchrnul(const char *s, char c) {
+static ATTRIBUTE_ALWAYS_INLINE char* strchrnul(const char *s, char c)
+{
while (*s && *s != c) ++s;
return (char*)s;
}