diff options
| author | 2020-04-24 08:43:36 +0200 | |
|---|---|---|
| committer | 2020-04-27 02:06:53 -0400 | |
| commit | 2374c09b1c8a883bb9b4b2fc3756703eeb618f4a (patch) | |
| tree | 9ff6358829e663960cb7177d941c3a8f3a4309b4 /include/linux/sysctl.h | |
| parent | mm: remove watermark_boost_factor_sysctl_handler (diff) | |
| download | linux-dev-2374c09b1c8a883bb9b4b2fc3756703eeb618f4a.tar.xz linux-dev-2374c09b1c8a883bb9b4b2fc3756703eeb618f4a.zip | |
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/sysctl.h')
| -rw-r--r-- | include/linux/sysctl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 02fa84493f23..36143ca40b56 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -207,7 +207,15 @@ void unregister_sysctl_table(struct ctl_table_header * table); extern int sysctl_init(void); +extern int pwrsw_enabled; +extern int unaligned_enabled; +extern int unaligned_dump_stack; +extern int no_unaligned_warning; + extern struct ctl_table sysctl_mount_point[]; +extern struct ctl_table random_table[]; +extern struct ctl_table firmware_config_table[]; +extern struct ctl_table epoll_table[]; #else /* CONFIG_SYSCTL */ static inline struct ctl_table_header *register_sysctl_table(struct ctl_table * table) |
