summaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-16 22:32:04 +0000
committerDenis Vlasenko2007-04-16 22:32:04 +0000
commitac678ec2f127fc02a93fff2c164e0b13a94a6abf (patch)
treef1354d1d4e3ca29b1fd77698d45791e61fd7a8b1 /include/platform.h
parent17e3c34aa7abe42aa604234235338e2b8087b8a0 (diff)
downloadbusybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.zip
busybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.tar.gz
style fixes, no code changes
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 0adbed4..ad3cc93 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;
}