diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-28 21:07:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-28 21:07:01 +0000 |
commit | e464e1da1c57262136d0a3a568e90ad753782737 (patch) | |
tree | 3d9e18c26205ab2f350963578bc0a37f3cde4f11 /src | |
parent | ec4ea625c91078ac1deaabc71c1d4103e6f7bb5b (diff) | |
download | coreutils-e464e1da1c57262136d0a3a568e90ad753782737.tar.xz |
Avoid new warnings from gcc.
[struct COLUMN] <name>: Declare member to be const.
(init_fps): Declare local variable `firstname' to be const.
Diffstat (limited to 'src')
-rw-r--r-- | src/pr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -380,7 +380,7 @@ struct COLUMN; struct COLUMN { FILE *fp; /* Input stream for this column. */ - char *name; /* File name. */ + char const *name; /* File name. */ enum { OPEN, @@ -1335,7 +1335,7 @@ init_fps (int number_of_files, char **av) int i, files_left; COLUMN *p; FILE *firstfp; - char *firstname; + char const *firstname; total_files = 0; |