Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fbdev: uvesafb: Remove uvesafb_exec() prototype from include/video/uvesafb.h

uvesafb_exec() is a static function defined and called only in
drivers/video/fbdev/uvesafb.c, remove the prototype from
include/video/uvesafb.h.

Fixes the warning:
./include/video/uvesafb.h:112:12: warning: 'uvesafb_exec' declared 'static' but never defined [-Wunused-function]
when including '<video/uvesafb.h>' in an external program.

Signed-off-by: Jorge Maidana <jorgem.linux@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Jorge Maidana and committed by
Helge Deller
0c37bffa e638d371

-2
-2
include/video/uvesafb.h
··· 109 109 u32 ack; 110 110 }; 111 111 112 - static int uvesafb_exec(struct uvesafb_ktask *tsk); 113 - 114 112 #define UVESAFB_EXACT_RES 1 115 113 #define UVESAFB_EXACT_DEPTH 2 116 114