net/atm/: proper prototypes
Subsystems (3)
PATCH 1/1 net/atm/: proper prototypes
This patch adds proper prototypes in net/atm/mpc.h for two global functions in net/atm/mpoa_proc.c
Signed-off-by Adrian Bunk <[email protected]>
---
net/atm/mpc.c | 5 ----- net/atm/mpc.h | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-)
net/atm/mpc.h renamed from net/atm/mpc.h.old +3 -0
@@ -50,4 +50,7 @@struct seq_file ;void atm_mpoa_disp_qos (struct seq_file *m); +int mpc_proc_init (void ); +void mpc_proc_clean (void ); +#endif /* _MPC_H_ */
net/atm/mpc.c renamed from net/atm/mpc.c.old +0 -5
@@ -98,11 +98,6 @@ 0 }; -#ifdef CONFIG_PROC_FS -extern int mpc_proc_init (void ); -extern void mpc_proc_clean (void ); -#endif -struct mpoa_client *mpcs =NULL ;/* FIXME */ static struct atm_mpoa_qos *qos_head =NULL ; static DEFINE_TIMER(mpc_timer, NULL, 0, 0);
From: Adrian Bunk <[email protected]>
Date: Mon, 21 Aug 2006 01:00:06 +0200
Quoted 4 lines
This patch adds proper prototypes in
net/atm/mpc.hfor two global functions innet/atm/mpoa_proc.cSigned-off-by Adrian Bunk <[email protected]>
Applied to net-2.6.19, thanks Adrian.