From 2e09a79ada1f6d92809a037d41895e3d9302ad59 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 7 Jun 2013 22:24:35 +0000 Subject: Avoid use of "register" as optimization hint. --- gmon/gmon.c | 2 +- gmon/mcount.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gmon') diff --git a/gmon/gmon.c b/gmon/gmon.c index 0d2ed0594e..9774d57ccc 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -102,7 +102,7 @@ __monstartup (lowpc, highpc) u_long lowpc; u_long highpc; { - register int o; + int o; char *cp; struct gmonparam *p = &_gmonparam; diff --git a/gmon/mcount.c b/gmon/mcount.c index 5a4a2499d4..0c2acd2890 100644 --- a/gmon/mcount.c +++ b/gmon/mcount.c @@ -58,10 +58,10 @@ static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93"; */ _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */ { - register ARCINDEX *frompcindex; - register struct tostruct *top, *prevtop; - register struct gmonparam *p; - register ARCINDEX toindex; + ARCINDEX *frompcindex; + struct tostruct *top, *prevtop; + struct gmonparam *p; + ARCINDEX toindex; int i; p = &_gmonparam; -- cgit v1.2.3