From ac678ec2f127fc02a93fff2c164e0b13a94a6abf Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 16 Apr 2007 22:32:04 +0000 Subject: style fixes, no code changes --- include/platform.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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; } -- cgit v1.1