> -----Original Message-----
> From: Rashika Kheria [mailto:[email protected]]
> Sent: Tuesday, February 25, 2014 4:46 PM
> To: [email protected]
> Cc: Andrew Morton; Rashika Kheria; Chanho Min; [email protected]
> Subject: [PATCH 4/8] lib: Add prototype declarations in lib/clz_ctz.c
>
> Add prototype declarations of functions in lib/clz_ctz.c. These
> functions are required by GCC builtins and hence can not be removed
> despite of their unreferenced appearance in kernel source.
>
> This eliminates the following warning in lib/clz_ctz.c:
> lib/clz_ctz.c:16:12: warning: no previous prototype for ‘__ctzsi2’ 
> [-Wmissing-prototypes]
> lib/clz_ctz.c:22:12: warning: no previous prototype for ‘__clzsi2’ 
> [-Wmissing-prototypes]
> lib/clz_ctz.c:44:12: warning: no previous prototype for ‘__clzdi2’ 
> [-Wmissing-prototypes]
> lib/clz_ctz.c:50:12: warning: no previous prototype for ‘__ctzdi2’ 
> [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <[email protected]>
> Reviewed-by: Josh Triplett <[email protected]>
Acked-by: Chanho Min <[email protected]>

Reply via email to