[PATCH] ipc/ statics

From: Stephen Rothwell (sfr@canb.auug.org.au)
Date: Thu Jun 20 2002 - 23:39:13 EST


Hi,

This patch just makes some stuff in ipc/ static.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
 diff -ruN 2.5.24/ipc/msg.c 2.5.24-sfr.2/ipc/msg.c
--- 2.5.24/ipc/msg.c	Sat Sep 15 07:17:00 2001
+++ 2.5.24-sfr.2/ipc/msg.c	Fri Jun 21 14:31:10 2002
@@ -597,7 +597,7 @@
 	return 0;
 }
 
-int inline pipelined_send(struct msg_queue* msq, struct msg_msg* msg)
+static int inline pipelined_send(struct msg_queue* msq, struct msg_msg* msg)
 {
 	struct list_head* tmp;
 
@@ -706,7 +706,7 @@
 	return err;
 }
 
-int inline convert_mode(long* msgtyp, int msgflg)
+static int inline convert_mode(long* msgtyp, int msgflg)
 {
 	/* 
 	 *  find message of correct type.
diff -ruN 2.5.24/ipc/sem.c 2.5.24-sfr.2/ipc/sem.c
--- 2.5.24/ipc/sem.c	Thu May 30 05:12:31 2002
+++ 2.5.24-sfr.2/ipc/sem.c	Fri Jun 21 14:33:20 2002
@@ -441,7 +441,7 @@
 	}
 }
 
-int semctl_nolock(int semid, int semnum, int cmd, int version, union semun arg)
+static int semctl_nolock(int semid, int semnum, int cmd, int version, union semun arg)
 {
 	int err = -EINVAL;
 
@@ -513,7 +513,7 @@
 	return err;
 }
 
-int semctl_main(int semid, int semnum, int cmd, int version, union semun arg)
+static int semctl_main(int semid, int semnum, int cmd, int version, union semun arg)
 {
 	struct sem_array *sma;
 	struct sem* curr;
@@ -700,7 +700,7 @@
 	}
 }
 
-int semctl_down(int semid, int semnum, int cmd, int version, union semun arg)
+static int semctl_down(int semid, int semnum, int cmd, int version, union semun arg)
 {
 	struct sem_array *sma;
 	int err;

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:24 EST