about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 876fcc2bb8..1feedcfae3 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -227,14 +227,14 @@ extern __ptr_t __initstate __P ((unsigned int __seed, __ptr_t __statebuf,
    which should have been previously initialized by `initstate'.  */
 extern __ptr_t __setstate __P ((__ptr_t __statebuf));
 
-extern long int random __P ((void));
+extern int32_t random __P ((void));
 extern void srandom __P ((unsigned int __seed));
 extern __ptr_t initstate __P ((unsigned int __seed, __ptr_t __statebuf,
 			       size_t __statelen));
 extern __ptr_t setstate __P ((__ptr_t __statebuf));
 
 #if defined (__OPTIMIZE__) && __GNUC__ >= 2
-extern __inline long int random (void)
+extern __inline int32_t random (void)
 { return __random(); }
 extern __inline void srandom (unsigned int __seed)
 { __srandom(__seed); }