about summary refs log tree commit diff
path: root/linuxthreads/Examples/ex13.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 17:14:56 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 17:14:56 +0000
commita375a533a2445079390907b962464a379d25f5d5 (patch)
treed781d06615c1d76d029c48e1d7eb69dc21ecbf3d /linuxthreads/Examples/ex13.c
parent21112857299d8a7b9c04fcb2027ae5186acfcf4f (diff)
downloadglibc-a375a533a2445079390907b962464a379d25f5d5.tar.gz
glibc-a375a533a2445079390907b962464a379d25f5d5.tar.xz
glibc-a375a533a2445079390907b962464a379d25f5d5.zip
* Examples/ex13.c: Make local functions static.
* ecmutex.c: Likewise. 
* Examples/ex14.c: Likewise.
	* Examples/ex2.c: Make local functions static; reformat.
	* Examples/ex1.c: Likewise.
	* Examples/ex4.c: Likewise.
	* Examples/ex5.c: Likewise.
	* Examples/ex7.c: Likewise.

CVS ----------------------------------------------------------------------
Diffstat (limited to 'linuxthreads/Examples/ex13.c')
-rw-r--r--linuxthreads/Examples/ex13.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/Examples/ex13.c b/linuxthreads/Examples/ex13.c
index 3a0347993a..af95358297 100644
--- a/linuxthreads/Examples/ex13.c
+++ b/linuxthreads/Examples/ex13.c
@@ -32,7 +32,7 @@ struct thr_ctrl
   int retval;
 };
 
-void
+static void
 dump_mut (pthread_mutex_t * mut)
 {
   int i;
@@ -43,7 +43,7 @@ dump_mut (pthread_mutex_t * mut)
 };
 
 /* Helper, the opposite of pthread_cond_wait (cond, mut).  */
-void
+static void
 pthr_cond_signal_mutex (pthread_cond_t * cond, pthread_mutex_t * mut)
 {
   int err;
@@ -59,7 +59,7 @@ pthr_cond_signal_mutex (pthread_cond_t * cond, pthread_mutex_t * mut)
 }
 
 
-void *
+static void *
 thread_start (void *ptr)
 {
   struct thr_ctrl *tc = ptr;