Mercurial > hg > octave-lyh > gnulib-hg
changeset 609:dea52d308735
(mode_compile): Declare parameter MODE_STRING const.
Remove register attribute.
(mode_adjust): Likewise for CHANGES.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 16 May 1996 03:57:49 +0000 |
parents | f8960f9f5656 |
children | 8f1f8754d803 |
files | lib/modechange.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/modechange.c +++ b/lib/modechange.c @@ -72,7 +72,7 @@ struct mode_change * mode_compile (mode_string, masked_ops) - register char *mode_string; + const char *mode_string; unsigned masked_ops; { struct mode_change *head; /* First element of the linked list. */ @@ -244,7 +244,7 @@ unsigned short mode_adjust (oldmode, changes) unsigned oldmode; - register struct mode_change *changes; + const struct mode_change *changes; { unsigned short newmode; /* The adjusted mode and one operand. */ unsigned short value; /* The other operand. */