sysctl extern cleanup: sg
Extern declarations in sysctl.c should be moved to their own header file, and then include them in relavant .c files. Move sg_big_buff extern declaration to scsi/sg.h Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Acked-by: Doug Gilbert <dgilbert@interlog.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
5ed109103d
commit
15485a4682
@@ -70,6 +70,9 @@ Major new features in SG 3.x driver (cf SG 2.x drivers)
|
||||
(for the lk 2.2 series).
|
||||
*/
|
||||
|
||||
#ifdef __KERNEL__
|
||||
extern int sg_big_buff; /* for sysctl */
|
||||
#endif
|
||||
|
||||
/* New interface introduced in the 3.x SG drivers follows */
|
||||
|
||||
|
Reference in New Issue
Block a user