platform/upstream/coreutils.git
31 years agoall files: make most variables static and const when possible.
Jim Meyering [Thu, 12 Nov 1992 04:14:54 +0000 (04:14 +0000)]
all files: make most variables static and const when possible.
declare lots of functions static.

31 years agoMake tables static and const when possible.
Jim Meyering [Thu, 12 Nov 1992 04:13:46 +0000 (04:13 +0000)]
Make tables static and const when possible.
getdate.c (getdate_yyerr, getdate_yylex): Declare these functions static.

31 years ago.
Jim Meyering [Thu, 12 Nov 1992 04:12:01 +0000 (04:12 +0000)]
.

31 years ago(set_mode): Parenthesize expressions with bit operations
Jim Meyering [Thu, 12 Nov 1992 02:19:02 +0000 (02:19 +0000)]
(set_mode): Parenthesize expressions with bit operations
to correctly set/reset modes bits.

31 years agoDeclared lots of external functions and variables static.
Jim Meyering [Mon, 9 Nov 1992 17:39:24 +0000 (17:39 +0000)]
Declared lots of external functions and variables static.
Made several statically-initialized arrays `const.'

31 years agoDeclared lots of external functions and variables static.
Jim Meyering [Sun, 8 Nov 1992 20:19:58 +0000 (20:19 +0000)]
Declared lots of external functions and variables static.
Made several statically-initialized arrays `const'

31 years agoInitial revision
Jim Meyering [Sun, 8 Nov 1992 02:55:41 +0000 (02:55 +0000)]
Initial revision

31 years agoInitial revision
Jim Meyering [Sun, 8 Nov 1992 02:50:43 +0000 (02:50 +0000)]
Initial revision

31 years agoMake still more file-scope variables `static'.
Jim Meyering [Sun, 1 Nov 1992 07:01:40 +0000 (07:01 +0000)]
Make still more file-scope variables `static'.

31 years agoMake one more file-scope variable `static.'
Jim Meyering [Sun, 1 Nov 1992 06:55:29 +0000 (06:55 +0000)]
Make one more file-scope variable `static.'

31 years agoMake file-scope variable static.
Jim Meyering [Sun, 1 Nov 1992 06:50:15 +0000 (06:50 +0000)]
Make file-scope variable static.

31 years agoInitial revision
Jim Meyering [Sun, 1 Nov 1992 05:44:29 +0000 (05:44 +0000)]
Initial revision

31 years agoGive most file-scope variables the static attribute.
Jim Meyering [Sun, 1 Nov 1992 03:30:09 +0000 (03:30 +0000)]
Give most file-scope variables the static attribute.

31 years ago*** empty log message ***
Jim Meyering [Sat, 31 Oct 1992 23:02:03 +0000 (23:02 +0000)]
*** empty log message ***

31 years ago(swab_buffer): Fix typo that incremented pointer instead of counter.
Jim Meyering [Sat, 31 Oct 1992 23:01:35 +0000 (23:01 +0000)]
(swab_buffer): Fix typo that incremented pointer instead of counter.
Add braces around static struct initializers.

31 years agoAdd parentheses to expressions like (c = *p++) as per suggestion
Jim Meyering [Sat, 31 Oct 1992 23:00:47 +0000 (23:00 +0000)]
Add parentheses to expressions like (c = *p++) as per suggestion
from gcc -Wall.

31 years agoAdd parentheses to expressions like (c = *p++) as per suggestion
Jim Meyering [Sat, 31 Oct 1992 23:00:13 +0000 (23:00 +0000)]
Add parentheses to expressions like (c = *p++) as per suggestion
from gcc -Wall.

31 years ago(adjust_blocks): Convert to a macro. The static
Jim Meyering [Sat, 31 Oct 1992 22:50:51 +0000 (22:50 +0000)]
(adjust_blocks): Convert to a macro.  The static
function wasn't always used.

31 years agoInitial revision
Jim Meyering [Sat, 31 Oct 1992 20:42:48 +0000 (20:42 +0000)]
Initial revision