Messages in this thread |  | | | Date | Tue, 3 Nov 2009 19:12:33 +0000 | | From | Alan Cox <> | | Subject | Re: [PATCH] strstrip incorrectly marked __must_check |
> static inline void strsrip_tail(char *str) > { > char *x __used; > x = strstrip(str); > }
Bikeshed time but its cleaner to do
static inline __must_check void strstrip(char *str) { return strim(str); } and make strim() the old strstrip function without the check requirement
Alan
|  |