From: Ulrich Drepper Date: Wed, 4 Mar 1998 17:20:27 +0000 (+0000) Subject: Change according to member name change. X-Git-Tag: cvs/before-sparc-2_0_x-branch~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65da62deebbcd979197818b2af79781c3f54649e;p=thirdparty%2Fglibc.git Change according to member name change. --- diff --git a/stdlib/drand48.c b/stdlib/drand48.c index 69e018bbfce..03f602ec216 100644 --- a/stdlib/drand48.c +++ b/stdlib/drand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -27,7 +27,7 @@ drand48 () { double result; - (void) erand48_r (__libc_drand48_data.X, &__libc_drand48_data, &result); + (void) erand48_r (__libc_drand48_data.x, &__libc_drand48_data, &result); return result; } diff --git a/stdlib/drand48_r.c b/stdlib/drand48_r.c index 3b774863e98..81c904d5a32 100644 --- a/stdlib/drand48_r.c +++ b/stdlib/drand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -26,5 +26,5 @@ drand48_r (buffer, result) struct drand48_data *buffer; double *result; { - return erand48_r (buffer->X, buffer, result); + return erand48_r (buffer->x, buffer, result); } diff --git a/stdlib/lcong48_r.c b/stdlib/lcong48_r.c index 037fd4931e6..9c51a3af04a 100644 --- a/stdlib/lcong48_r.c +++ b/stdlib/lcong48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -26,7 +26,7 @@ lcong48_r (param, buffer) struct drand48_data *buffer; { /* Store the given values. */ - memcpy (buffer->X, ¶m[0], sizeof (buffer->X)); + memcpy (buffer->x, ¶m[0], sizeof (buffer->x)); memcpy (buffer->a, ¶m[3], sizeof (buffer->a)); buffer->c = param[6]; buffer->init = 1; diff --git a/stdlib/lrand48.c b/stdlib/lrand48.c index 2f5530b33c7..fbbadf07bfb 100644 --- a/stdlib/lrand48.c +++ b/stdlib/lrand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -27,7 +27,7 @@ lrand48 () { long result; - (void) nrand48_r (__libc_drand48_data.X, &__libc_drand48_data, &result); + (void) nrand48_r (__libc_drand48_data.x, &__libc_drand48_data, &result); return result; } diff --git a/stdlib/lrand48_r.c b/stdlib/lrand48_r.c index 8c20cf594b8..9dc89c5db09 100644 --- a/stdlib/lrand48_r.c +++ b/stdlib/lrand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -28,5 +28,5 @@ lrand48_r (buffer, result) if (buffer == NULL) return -1; - return nrand48_r (buffer->X, buffer, result); + return nrand48_r (buffer->x, buffer, result); } diff --git a/stdlib/mrand48.c b/stdlib/mrand48.c index 9a68cbf45c4..fa70e934353 100644 --- a/stdlib/mrand48.c +++ b/stdlib/mrand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -27,7 +27,7 @@ mrand48 () { long result; - (void) jrand48_r (__libc_drand48_data.X, &__libc_drand48_data, &result); + (void) jrand48_r (__libc_drand48_data.x, &__libc_drand48_data, &result); return result; } diff --git a/stdlib/mrand48_r.c b/stdlib/mrand48_r.c index 0c9819a4522..1d1cf5ef445 100644 --- a/stdlib/mrand48_r.c +++ b/stdlib/mrand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -28,5 +28,5 @@ mrand48_r (buffer, result) if (buffer == NULL) return -1; - return jrand48_r (buffer->X, buffer, result); + return jrand48_r (buffer->x, buffer, result); } diff --git a/stdlib/seed48.c b/stdlib/seed48.c index 436cc8bf275..9a907dd0a97 100644 --- a/stdlib/seed48.c +++ b/stdlib/seed48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -28,5 +28,5 @@ seed48 (seed16v) { (void) seed48_r (seed16v, &__libc_drand48_data); - return __libc_drand48_data.old_X; + return __libc_drand48_data.old_x; } diff --git a/stdlib/seed48_r.c b/stdlib/seed48_r.c index 04144d1c615..60421b4c2a7 100644 --- a/stdlib/seed48_r.c +++ b/stdlib/seed48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -27,21 +27,21 @@ seed48_r (seed16v, buffer) struct drand48_data *buffer; { /* Save old value at a private place to be used as return value. */ - memcpy (buffer->old_X, buffer->X, sizeof (buffer->X)); + memcpy (buffer->old_x, buffer->x, sizeof (buffer->x)); /* Install new state. */ #if USHRT_MAX == 0xffffU - buffer->X[2] = seed16v[2]; - buffer->X[1] = seed16v[1]; - buffer->X[0] = seed16v[0]; + buffer->x[2] = seed16v[2]; + buffer->x[1] = seed16v[1]; + buffer->x[0] = seed16v[0]; buffer->a[2] = 0x5; buffer->a[1] = 0xdeec; buffer->a[0] = 0xe66d; #else - buffer->X[2] = (seed16v[2] << 16) | seed16v[1]; - buffer->X[1] = seed16v[0] << 16; - buffer->X[0] = 0; + buffer->x[2] = (seed16v[2] << 16) | seed16v[1]; + buffer->x[1] = seed16v[0] << 16; + buffer->x[0] = 0; buffer->a[2] = 0x5deecUL; buffer->a[1] = 0xe66d0000UL; diff --git a/stdlib/srand48_r.c b/stdlib/srand48_r.c index 042c6699503..b25cc3566d7 100644 --- a/stdlib/srand48_r.c +++ b/stdlib/srand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -30,17 +30,17 @@ srand48_r (seedval, buffer) seedval &= 0xffffffffl; #if USHRT_MAX == 0xffffU - buffer->X[2] = seedval >> 16; - buffer->X[1] = seedval & 0xffffl; - buffer->X[0] = 0x330e; + buffer->x[2] = seedval >> 16; + buffer->x[1] = seedval & 0xffffl; + buffer->x[0] = 0x330e; buffer->a[2] = 0x5; buffer->a[1] = 0xdeec; buffer->a[0] = 0xe66d; #else - buffer->X[2] = seedval; - buffer->X[1] = 0x330e0000UL; - buffer->X[0] = 0; + buffer->x[2] = seedval; + buffer->x[1] = 0x330e0000UL; + buffer->x[0] = 0; buffer->a[2] = 0x5deecUL; buffer->a[1] = 0xe66d0000UL;