diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-09-22 14:28:11 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 15:19:13 -0700 |
commit | 69263bcfb5016bc3bdd099607a4232cba06f8491 (patch) | |
tree | 0d147c53de267fec3055bd5cb11a24ce4c936f08 /net/atm/mpc.h | |
parent | d458c25ce24ce00ea547e9976e293e7835416253 (diff) | |
download | lwn-69263bcfb5016bc3bdd099607a4232cba06f8491.tar.gz lwn-69263bcfb5016bc3bdd099607a4232cba06f8491.zip |
[ATM]: proper prototypes in net/atm/mpc.h (and reduce ifdef clutter)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/mpc.h')
-rw-r--r-- | net/atm/mpc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/atm/mpc.h b/net/atm/mpc.h index 863ddf6079e1..3c7981a229e8 100644 --- a/net/atm/mpc.h +++ b/net/atm/mpc.h @@ -50,4 +50,12 @@ int atm_mpoa_delete_qos(struct atm_mpoa_qos *qos); struct seq_file; void atm_mpoa_disp_qos(struct seq_file *m); +#ifdef CONFIG_PROC_FS +int mpc_proc_init(void); +void mpc_proc_clean(void); +#else +#define mpc_proc_init() (0) +#define mpc_proc_clean() do { } while(0) +#endif + #endif /* _MPC_H_ */ |