summaryrefslogtreecommitdiffstats
path: root/scripts/mod/sumversion.c
diff options
context:
space:
mode:
authorJ.A. Magallon <jamagallon@able.es>2005-07-15 22:14:43 +0000
committerSam Ravnborg <sam@mars.(none)>2005-07-27 22:27:08 +0200
commit61d9cdf2a9ccb9e4770d7723db8b18b8952778ce (patch)
treeb401885e7bb2583f55c9e465e7d91e73398ef7e5 /scripts/mod/sumversion.c
parent84c2a2eb348f3bd85ec8eb3bb95ba04f65f4e217 (diff)
downloadop-kernel-dev-61d9cdf2a9ccb9e4770d7723db8b18b8952778ce.zip
op-kernel-dev-61d9cdf2a9ccb9e4770d7723db8b18b8952778ce.tar.gz
[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/sumversion.c')
-rw-r--r--scripts/mod/sumversion.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c
index 1112347..43271a1 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)
}
/* FIXME: Handle .s files differently (eg. # starts comments) --RR */
-static int parse_file(const signed char *fname, struct md4_ctx *md)
+static int parse_file(const char *fname, struct md4_ctx *md)
{
- signed char *file;
+ char *file;
unsigned long i, len;
file = grab_file(fname, &len);
@@ -332,7 +332,7 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md)
Sum all files in the same dir or subdirs.
*/
while ((line = get_next_line(&pos, file, flen)) != NULL) {
- signed char* p = line;
+ char* p = line;
if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) {
check_files = 1;
continue;
@@ -458,7 +458,7 @@ out:
close(fd);
}
-static int strip_rcs_crap(signed char *version)
+static int strip_rcs_crap(char *version)
{
unsigned int len, full_len;
OpenPOWER on IntegriCloud