patch-1.3.39 linux/drivers/char/lp.c
Next file: linux/drivers/char/mem.c
Previous file: linux/drivers/char/console_struct.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 9 08:24:04 1995
- Orig file:
v1.3.38/linux/drivers/char/lp.c
- Orig date:
Tue Oct 10 18:46:33 1995
diff -u --recursive --new-file v1.3.38/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -9,13 +9,7 @@
* Statistics and support for slow printers by Rob Janssen, rob@knoware.nl
*/
-#ifdef MODULE
#include <linux/module.h>
-#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif
#include <linux/errno.h>
#include <linux/kernel.h>
@@ -556,9 +550,9 @@
}
#ifdef MODULE
-char kernel_version[]=UTS_RELEASE;
-int io[] = {0, 0, 0};
-int irq[] = {0, 0, 0};
+static int io[] = {0, 0, 0};
+static int irq[] = {0, 0, 0};
+
#define lp_init init_module
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this