]> 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)
commitd4ca65e88cd8b49adb2233c8004847a756dd6070
tree9ff6358829e663960cb7177d941c3a8f3a4309b4
parentff9dfd71fda2e797024019eb13515e458b8354b9
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