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)
commit2374c09b1c8a883bb9b4b2fc3756703eeb618f4a
tree9ff6358829e663960cb7177d941c3a8f3a4309b4
parent26363af5643490a817272e1cc6f1d3f1d550a699
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