From 0b8c03e488d0a5ff989f8d9f757e87cb0f1fd85b Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Mon, 20 Oct 2003 08:34:44 -0700 Subject: [LLC]: Make LLC2 compile with PROC_FS=n --- include/net/llc.h | 8 ++++++++ include/net/llc_proc.h | 18 ------------------ 2 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 include/net/llc_proc.h (limited to 'include/net') 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 - * - * 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 */ -- cgit v1.2.3