summary refs log tree commit diff
path: root/stdlib/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/random.c')
-rw-r--r--stdlib/random.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/random.c b/stdlib/random.c
index 461b76f29b..ffa658d650 100644
--- a/stdlib/random.c
+++ b/stdlib/random.c
@@ -180,9 +180,9 @@ void
 __srandom (x)
      unsigned int x;
 {
-  __libc_lock_lock (lock)
+  __libc_lock_lock (lock);
   (void) __srandom_r (x, &unsafe_state);
-  __libc_lock_unlock (lock)
+  __libc_lock_unlock (lock);
 }
 
 weak_alias (__srandom, srandom)
@@ -207,13 +207,13 @@ __initstate (seed, arg_state, n)
 {
   void *ostate;
 
-  __libc_lock_lock (lock)
+  __libc_lock_lock (lock);
 
   ostate = (void *) &unsafe_state.state[-1];
 
   __initstate_r (seed, arg_state, n, &unsafe_state);
 
-  __libc_lock_unlock (lock)
+  __libc_lock_unlock (lock);
 
   return ostate;
 }
@@ -234,14 +234,14 @@ __setstate (arg_state)
 {
   void *ostate;
 
-  __libc_lock_lock (lock)
+  __libc_lock_lock (lock);
 
   ostate = (void *) &unsafe_state.state[-1];
 
   if (__setstate_r (arg_state, &unsafe_state) < 0)
     ostate = NULL;
 
-  __libc_lock_unlock (lock)
+  __libc_lock_unlock (lock);
 
   return ostate;
 }
@@ -264,11 +264,11 @@ __random ()
 {
   int32_t retval;
 
-  __libc_lock_lock (lock)
+  __libc_lock_lock (lock);
 
   (void) __random_r (&unsafe_state, &retval);
 
-  __libc_lock_unlock (lock)
+  __libc_lock_unlock (lock);
 
   return retval;
 }