patch-2.4.21 linux-2.4.21/fs/proc/inode.c

Next file: linux-2.4.21/fs/proc/proc_misc.c
Previous file: linux-2.4.21/fs/proc/generic.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/proc/inode.c linux-2.4.21/fs/proc/inode.c
@@ -22,7 +22,7 @@
 
 extern void free_proc_entry(struct proc_dir_entry *);
 
-struct proc_dir_entry * de_get(struct proc_dir_entry *de)
+static inline struct proc_dir_entry * de_get(struct proc_dir_entry *de)
 {
 	if (de)
 		atomic_inc(&de->count);
@@ -32,7 +32,7 @@
 /*
  * Decrements the use count and checks for deferred deletion.
  */
-void de_put(struct proc_dir_entry *de)
+static void de_put(struct proc_dir_entry *de)
 {
 	if (de) {	
 		lock_kernel();		

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)