Two fixes for pre-2.0.31-2

Richard Guenther (zxmpm11@student.uni-tuebingen.de)
Mon, 9 Jun 1997 12:17:47 +0200 (METDST)


Hi!

The following two 'bugs' should be fixed before 2.0.31:
- export the _ctmp symbol (as _ctype is also exported)
- fix the typo in include/linux/proc_fs.h

Patch follows.

Richard.

diff -u --recursive --new-file linux-2.0.30/include/linux/proc_fs.h linux-2.0.30c/include/linux/proc_fs.h
--- linux-2.0.30/include/linux/proc_fs.h Sun May 11 13:58:09 1997
+++ linux-2.0.30c/include/linux/proc_fs.h Sun Jun 8 22:51:55 1997
@@ -191,7 +191,7 @@
extern struct proc_dir_entry proc_root;
extern struct proc_dir_entry proc_net;
extern struct proc_dir_entry proc_scsi;
-extern struct proc_dir_entry proc_sys;
+extern struct proc_dir_entry proc_sys_root;
extern struct proc_dir_entry proc_pid;
extern struct proc_dir_entry proc_pid_fd;

diff -u --recursive --new-file linux-2.0.30/kernel/ksyms.c linux-2.0.30c/kernel/ksyms.c
--- linux-2.0.30/kernel/ksyms.c Sun Apr 20 18:57:38 1997
+++ linux-2.0.30c/kernel/ksyms.c Sun Jun 8 22:52:42 1997
@@ -297,6 +297,7 @@
X(sys_call_table),
X(hard_reset_now),
X(_ctype),
+ X(_ctmp),

/* Signal interfaces */
X(send_sig),
diff -u --recursive --new-file linux-2.0.30/kernel/sysctl.c linux-2.0.30c/kernel/sysctl.c
--- linux-2.0.30/kernel/sysctl.c Sun Apr 20 18:57:38 1997
+++ linux-2.0.30c/kernel/sysctl.c Sun Jun 8 23:03:11 1997
@@ -87,8 +87,6 @@
proc_sys_permission
};

-extern struct proc_dir_entry proc_sys_root;
-
static void register_proc_table(ctl_table *, struct proc_dir_entry *);
static void unregister_proc_table(ctl_table *, struct proc_dir_entry *);
#endif