Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3/stand/libsa Remove register prefixes.



details:   https://anonhg.NetBSD.org/src/rev/231ff943bca6
branches:  trunk
changeset: 514559:231ff943bca6
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Sep 05 13:35:30 2001 +0000

description:
Remove register prefixes.

diffstat:

 sys/arch/sun3/stand/libsa/gets.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r f9fa9c7b953e -r 231ff943bca6 sys/arch/sun3/stand/libsa/gets.c
--- a/sys/arch/sun3/stand/libsa/gets.c  Wed Sep 05 13:31:36 2001 +0000
+++ b/sys/arch/sun3/stand/libsa/gets.c  Wed Sep 05 13:35:30 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gets.c,v 1.1.1.2 1995/06/01 20:37:58 gwr Exp $ */
+/*     $NetBSD: gets.c,v 1.2 2001/09/05 13:35:30 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1993
@@ -52,8 +52,8 @@
 gets(buf)
        char *buf;
 {
-       register int c;
-       register char *lp;
+       int c;
+       char *lp;
 
 top:
        lp = buf;
@@ -89,7 +89,7 @@
                 * (It costs you 52 bytes on m68k, gcc -O3).
                 */
                case 'r'&037: {
-                       register char *p;
+                       char *p;
                        putchar('\n');
                        for (p = buf; p < lp; ++p)
                                putchar(*p);



Home | Main Index | Thread Index | Old Index