]> git.baikalelectronics.ru Git - kernel.git/commit
sysctl: remove all extern declaration from sysctl.c
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Apr 2020 06:43:36 +0000 (08:43 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Apr 2020 06:06:53 +0000 (02:06 -0400)
commit6f1bb0acae684943318836f71e74d8ea7883e532
tree9ff6358829e663960cb7177d941c3a8f3a4309b4
parentebc91542517d497381925ff706a39d0d739acbc3
sysctl: remove all extern declaration from sysctl.c

Extern declarations in .c files are a bad style and can lead to
mismatches.  Use existing definitions in headers where they exist,
and otherwise move the external declarations to suitable header
files.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/coredump.h
include/linux/file.h
include/linux/mm.h
include/linux/mmzone.h
include/linux/pid.h
include/linux/sysctl.h
kernel/sysctl.c