about summary refs log tree commit diff
path: root/stdlib/jrand48_r.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-04-21 14:50:33 +0000
committerUlrich Drepper <drepper@redhat.com>1997-04-21 14:50:33 +0000
commit47f13fd4ba484366bedadfc41b12b17a5c7c56d6 (patch)
tree1408bbf869a2c6887e354f82181abdd2afbc15a5 /stdlib/jrand48_r.c
parentb4012b7542183a57cd92514e2359b8110609e52a (diff)
downloadglibc-47f13fd4ba484366bedadfc41b12b17a5c7c56d6.tar.gz
glibc-47f13fd4ba484366bedadfc41b12b17a5c7c56d6.tar.xz
glibc-47f13fd4ba484366bedadfc41b12b17a5c7c56d6.zip
Update.
1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/drand48.c: Cleanup namespace.
	* stdlib/drand48_r.c: Cleanup namespace.
	* stdlib/erand48.c: Cleanup namespace.
	* stdlib/erand48_r.c: Cleanup namespace.
	* stdlib/jrand48.c: Cleanup namespace.
	* stdlib/jrand48_r.c: Cleanup namespace.
	* stdlib/lrand48.c: Cleanup namespace.
	* stdlib/lrand48_r.c: Cleanup namespace.
	* stdlib/mrand48.c: Cleanup namespace.
	* stdlib/mrand48_r.c: Cleanup namespace.
	* stdlib/nrand48.c: Cleanup namespace.
	* stdlib/nrand48_r.c: Cleanup namespace.
	* stdlib/lcong48.c: Cleanup namespace.
	* stdlib/lcong48_r.c: Cleanup namespace.
	* stdlib/srand48.c: Cleanup namespace.
	* stdlib/srand48_r.c: Cleanup namespace.
	* stdlib/seed48.c: Cleanup namespace.
	* stdlib/seed48_r.c: Cleanup namespace.

	* stdlib/stdlib.h: Provide new prototypes.
Diffstat (limited to 'stdlib/jrand48_r.c')
-rw-r--r--stdlib/jrand48_r.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/jrand48_r.c b/stdlib/jrand48_r.c
index 648604d4f5..ce4c8b0a95 100644
--- a/stdlib/jrand48_r.c
+++ b/stdlib/jrand48_r.c
@@ -20,10 +20,10 @@
 #include <stdlib.h>
 
 int
-jrand48_r (xsubi, buffer, result)
+__jrand48_r (xsubi, buffer, result)
      unsigned short int xsubi[3];
      struct drand48_data *buffer;
-     long *result;
+     long int *result;
 {
   /* Compute next state.  */
   if (__drand48_iterate (xsubi, buffer) < 0)
@@ -40,3 +40,4 @@ jrand48_r (xsubi, buffer, result)
 
   return 0;
 }
+weak_alias (__jrand48_r, jrand48_r)