diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2003-10-20 08:34:44 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-10-20 08:34:44 -0700 |
| commit | 0b8c03e488d0a5ff989f8d9f757e87cb0f1fd85b (patch) | |
| tree | 4ff847e93c1033010fd5c3efc28da5408eab99d7 /include/net | |
| parent | 3e472e4c90096eb35884067b41293a47589ac431 (diff) | |
[LLC]: Make LLC2 compile with PROC_FS=n
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/llc.h | 8 | ||||
| -rw-r--r-- | include/net/llc_proc.h | 18 |
2 files changed, 8 insertions, 18 deletions
diff --git a/include/net/llc.h b/include/net/llc.h index bf3882be3529..c9aed2a8b4e2 100644 --- a/include/net/llc.h +++ b/include/net/llc.h @@ -88,4 +88,12 @@ extern int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, extern int llc_station_init(void); extern void llc_station_exit(void); + +#ifdef CONFIG_PROC_FS +extern int llc_proc_init(void); +extern void llc_proc_exit(void); +#else +#define llc_proc_init() (0) +#define llc_proc_exit() do { } while(0) +#endif /* CONFIG_PROC_FS */ #endif /* LLC_H */ diff --git a/include/net/llc_proc.h b/include/net/llc_proc.h deleted file mode 100644 index c6e7306aa8c3..000000000000 --- a/include/net/llc_proc.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef LLC_PROC_H -#define LLC_PROC_H -/* - * Copyright (c) 1997 by Procom Technology, Inc. - * 2002 by Arnaldo Carvalho de Melo <acme@conectiva.com.br> - * - * This program can be redistributed or modified under the terms of the - * GNU General Public License as published by the Free Software Foundation. - * This program is distributed without any warranty or implied warranty - * of merchantability or fitness for a particular purpose. - * - * See the GNU General Public License for more details. - */ - -extern int llc_proc_init(void); -extern void llc_proc_exit(void); - -#endif /* LLC_PROC_H */ |
