diff options
| author | J.A. Magallon <jamagallon@able.es> | 2005-07-15 18:14:43 -0400 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-27 16:27:08 -0400 |
| commit | 61d9cdf2a9ccb9e4770d7723db8b18b8952778ce (patch) | |
| tree | b401885e7bb2583f55c9e465e7d91e73398ef7e5 /scripts/mod | |
| parent | 84c2a2eb348f3bd85ec8eb3bb95ba04f65f4e217 (diff) | |
[PATCH] kbuild: signed char fixes for scripts
This time I did not break anything... and they shut up gcc4 ;)
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod')
| -rw-r--r-- | scripts/mod/sumversion.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c index 1112347245c..43271a1ca01 100644 --- a/scripts/mod/sumversion.c +++ b/scripts/mod/sumversion.c | |||
| @@ -252,9 +252,9 @@ static int parse_comment(const char *file, unsigned long len) | |||
| 252 | } | 252 | } |
| 253 | 253 | ||
| 254 | /* FIXME: Handle .s files differently (eg. # starts comments) --RR */ | 254 | /* FIXME: Handle .s files differently (eg. # starts comments) --RR */ |
| 255 | static int parse_file(const signed char *fname, struct md4_ctx *md) | 255 | static int parse_file(const char *fname, struct md4_ctx *md) |
| 256 | { | 256 | { |
| 257 | signed char *file; | 257 | char *file; |
| 258 | unsigned long i, len; | 258 | unsigned long i, len; |
| 259 | 259 | ||
| 260 | file = grab_file(fname, &len); | 260 | file = grab_file(fname, &len); |
| @@ -332,7 +332,7 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md) | |||
| 332 | Sum all files in the same dir or subdirs. | 332 | Sum all files in the same dir or subdirs. |
| 333 | */ | 333 | */ |
| 334 | while ((line = get_next_line(&pos, file, flen)) != NULL) { | 334 | while ((line = get_next_line(&pos, file, flen)) != NULL) { |
| 335 | signed char* p = line; | 335 | char* p = line; |
| 336 | if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { | 336 | if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { |
| 337 | check_files = 1; | 337 | check_files = 1; |
| 338 | continue; | 338 | continue; |
| @@ -458,7 +458,7 @@ out: | |||
| 458 | close(fd); | 458 | close(fd); |
| 459 | } | 459 | } |
| 460 | 460 | ||
| 461 | static int strip_rcs_crap(signed char *version) | 461 | static int strip_rcs_crap(char *version) |
| 462 | { | 462 | { |
| 463 | unsigned int len, full_len; | 463 | unsigned int len, full_len; |
| 464 | 464 | ||
