Remove register prefixes.
This commit is contained in:
parent
fb91456ba6
commit
0427bd63a4
@ -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
|
* Copyright (c) 1993
|
||||||
@ -52,8 +52,8 @@ void
|
|||||||
gets(buf)
|
gets(buf)
|
||||||
char *buf;
|
char *buf;
|
||||||
{
|
{
|
||||||
register int c;
|
int c;
|
||||||
register char *lp;
|
char *lp;
|
||||||
|
|
||||||
top:
|
top:
|
||||||
lp = buf;
|
lp = buf;
|
||||||
@ -89,7 +89,7 @@ top:
|
|||||||
* (It costs you 52 bytes on m68k, gcc -O3).
|
* (It costs you 52 bytes on m68k, gcc -O3).
|
||||||
*/
|
*/
|
||||||
case 'r'&037: {
|
case 'r'&037: {
|
||||||
register char *p;
|
char *p;
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
for (p = buf; p < lp; ++p)
|
for (p = buf; p < lp; ++p)
|
||||||
putchar(*p);
|
putchar(*p);
|
||||||
|
Loading…
Reference in New Issue
Block a user