linux/net/atm
Arnd Bergmann 56e5d63e4e atm: hide unused procfs functions
[ Upstream commit fb1b7be9b1 ]

When CONFIG_PROC_FS is disabled, the function declarations for some
procfs functions are hidden, but the definitions are still build,
as shown by this compiler warning:

net/atm/resources.c:403:7: error: no previous prototype for 'atm_dev_seq_start' [-Werror=missing-prototypes]
net/atm/resources.c:409:6: error: no previous prototype for 'atm_dev_seq_stop' [-Werror=missing-prototypes]
net/atm/resources.c:414:7: error: no previous prototype for 'atm_dev_seq_next' [-Werror=missing-prototypes]

Add another #ifdef to leave these out of the build.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230516194625.549249-2-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-09 10:34:16 +02:00
..
addr.c
addr.h
atm_misc.c
atm_sysfs.c net: atm: use DEVICE_ATTR_RO macro 2021-05-20 15:50:54 -07:00
br2684.c net: atm: use address setting helpers 2021-10-24 13:59:45 +01:00
clip.c
common.c net: SO_RCVMARK socket option for SO_MARK with recvmsg() 2022-04-28 13:08:15 -07:00
common.h
ioctl.c
Kconfig
lec_arpc.h
lec.c net: atm: use address setting helpers 2021-10-24 13:59:45 +01:00
lec.h
Makefile
mpc.c
mpc.h
mpoa_caches.c
mpoa_caches.h
mpoa_proc.c net/atm: fix proc_mpc_write incorrect return value 2022-10-15 11:08:36 +01:00
pppoatm.c
proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
protocols.h
pvc.c
raw.c
resources.c atm: hide unused procfs functions 2023-06-09 10:34:16 +02:00
resources.h
signaling.c
signaling.h
svc.c