diff options
author | Christoph Hellwig <hch@lst.de> | 2020-04-24 09:43:36 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-04-27 09:06:53 +0300 |
commit | 2374c09b1c8a883bb9b4b2fc3756703eeb618f4a (patch) | |
tree | 9ff6358829e663960cb7177d941c3a8f3a4309b4 /include/linux/coredump.h | |
parent | 26363af5643490a817272e1cc6f1d3f1d550a699 (diff) | |
download | linux-2374c09b1c8a883bb9b4b2fc3756703eeb618f4a.tar.xz |
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>
Diffstat (limited to 'include/linux/coredump.h')
-rw-r--r-- | include/linux/coredump.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/coredump.h b/include/linux/coredump.h index abf4b4e65dbb..7a899e83835d 100644 --- a/include/linux/coredump.h +++ b/include/linux/coredump.h @@ -22,4 +22,8 @@ extern void do_coredump(const kernel_siginfo_t *siginfo); static inline void do_coredump(const kernel_siginfo_t *siginfo) {} #endif +extern int core_uses_pid; +extern char core_pattern[]; +extern unsigned int core_pipe_limit; + #endif /* _LINUX_COREDUMP_H */ |