diff options
author | Jim Meyering <jim@meyering.net> | 1996-05-16 03:57:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-05-16 03:57:49 +0000 |
commit | 8a623ebc610cc75c3e875a1e193cc21bae02fd89 (patch) | |
tree | caa01a0884b2113d806fc9f064d4a5f426302b0e /lib | |
parent | fce70ef38b611f95ceae183651bcfa1eecf4dadf (diff) | |
download | coreutils-8a623ebc610cc75c3e875a1e193cc21bae02fd89.tar.xz |
(mode_compile): Declare parameter MODE_STRING const.
Remove register attribute.
(mode_adjust): Likewise for CHANGES.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/modechange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/modechange.c b/lib/modechange.c index 8eb8dc55d..5a009271e 100644 --- a/lib/modechange.c +++ b/lib/modechange.c @@ -72,7 +72,7 @@ static int oatoi (); 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 @@ invalid: 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. */ |