1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00

* 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 ----------------------------------------------------------------------
This commit is contained in:
Andreas Jaeger
2000-12-27 17:14:56 +00:00
parent 2111285729
commit a375a533a2
8 changed files with 199 additions and 156 deletions

View File

@@ -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;