Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib Workaround no longer needed, now that the co...



details:   https://anonhg.NetBSD.org/src/rev/07c4d2a3cd2e
branches:  trunk
changeset: 486246:07c4d2a3cd2e
user:      is <is%NetBSD.org@localhost>
date:      Tue May 16 22:07:30 2000 +0000

description:
Workaround no longer needed, now that the compiler is fixed.

diffstat:

 lib/libc/stdlib/strtoull.c |  9 ++-------
 lib/libc/stdlib/strtouq.c  |  9 ++-------
 2 files changed, 4 insertions(+), 14 deletions(-)

diffs (60 lines):

diff -r 6ec818921d8b -r 07c4d2a3cd2e lib/libc/stdlib/strtoull.c
--- a/lib/libc/stdlib/strtoull.c        Tue May 16 22:04:12 2000 +0000
+++ b/lib/libc/stdlib/strtoull.c        Tue May 16 22:07:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strtoull.c,v 1.3 2000/05/02 12:39:03 is Exp $  */
+/*     $NetBSD: strtoull.c,v 1.4 2000/05/16 22:07:30 is Exp $  */
 
 /*
  * Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "from: @(#)strtoul.c    8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: strtoull.c,v 1.3 2000/05/02 12:39:03 is Exp $");
+__RCSID("$NetBSD: strtoull.c,v 1.4 2000/05/16 22:07:30 is Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -75,11 +75,6 @@
        _DIAGASSERT(nptr != NULL);
        /* endptr may be NULL */
 
-#ifdef __GNUC__
-       /* This outrageous construct works around an arm32 compiler bug. */
-       (void) &acc;
-#endif
-
        /*
         * See strtol for comments as to the logic used.
         */
diff -r 6ec818921d8b -r 07c4d2a3cd2e lib/libc/stdlib/strtouq.c
--- a/lib/libc/stdlib/strtouq.c Tue May 16 22:04:12 2000 +0000
+++ b/lib/libc/stdlib/strtouq.c Tue May 16 22:07:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strtouq.c,v 1.15 2000/05/02 12:39:03 is Exp $  */
+/*     $NetBSD: strtouq.c,v 1.16 2000/05/16 22:07:30 is Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)strtouq.c  8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: strtouq.c,v 1.15 2000/05/02 12:39:03 is Exp $");
+__RCSID("$NetBSD: strtouq.c,v 1.16 2000/05/16 22:07:30 is Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -70,11 +70,6 @@
        _DIAGASSERT(nptr != NULL);
        /* endptr may be NULL */
 
-#ifdef __GNUC__
-       /* This outrageous construct works around an arm32 compiler bug. */
-       (void) &acc;
-#endif
-
        /*
         * See strtoq for comments as to the logic used.
         */



Home | Main Index | Thread Index | Old Index