summaryrefslogtreecommitdiff
path: root/soltools/mkdepend
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-17 23:13:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-17 23:16:58 +0200
commitb6ba12c7290417e9d025342087718c43b8e60c15 (patch)
treec06205b5893dc54b771811c419045df370b04aae /soltools/mkdepend
parent1d43c71138b6bbc83a7ea592bbeff416002902a5 (diff)
Prevent clang errors about promoted type incompatibilities of K&R function parameters.
Diffstat (limited to 'soltools/mkdepend')
-rw-r--r--soltools/mkdepend/include.c6
-rw-r--r--soltools/mkdepend/parse.c8
-rw-r--r--soltools/mkdepend/pr.c9
3 files changed, 3 insertions, 20 deletions
diff --git a/soltools/mkdepend/include.c b/soltools/mkdepend/include.c
index ac79e84cc984..dbdd1cffeb32 100644
--- a/soltools/mkdepend/include.c
+++ b/soltools/mkdepend/include.c
@@ -45,11 +45,7 @@ extern char *notdotdot[ ];
extern boolean show_where_not;
extern boolean warn_multiple;
-struct inclist *inc_path(file, include, dot, incCollection)
- register char *file,
- *include;
- boolean dot;
- struct IncludesCollection* incCollection;
+struct inclist *inc_path(register char *file, register char *include, boolean dot, struct IncludesCollection* incCollection)
{
static char path[ BUFSIZ ];
register char **pp, *p;
diff --git a/soltools/mkdepend/parse.c b/soltools/mkdepend/parse.c
index a63e481b6cdd..939155aa3b83 100644
--- a/soltools/mkdepend/parse.c
+++ b/soltools/mkdepend/parse.c
@@ -41,13 +41,7 @@ int zero_value(register char *exp, register struct filepointer *filep,
extern char *directives[];
extern struct symhash *maininclist;
-int find_includes(filep, file, file_red, recursion, failOK, incCollection, symbols)
- struct filepointer *filep;
- struct inclist *file, *file_red;
- int recursion;
- boolean failOK;
- struct IncludesCollection* incCollection;
- struct symhash *symbols;
+int find_includes(struct filepointer *filep, struct inclist *file, struct inclist *file_red, int recursion, boolean failOK, struct IncludesCollection* incCollection, struct symhash *symbols)
{
register char *line;
register int type;
diff --git a/soltools/mkdepend/pr.c b/soltools/mkdepend/pr.c
index 37bf3a2af035..082e312ed230 100644
--- a/soltools/mkdepend/pr.c
+++ b/soltools/mkdepend/pr.c
@@ -40,14 +40,7 @@ extern boolean printed;
extern boolean verbose;
extern boolean show_where_not;
-void add_include(filep, file, file_red, include, dot, failOK, incCollection, symbols)
- struct filepointer *filep;
- struct inclist *file, *file_red;
- char *include;
- boolean dot;
- boolean failOK;
- struct IncludesCollection* incCollection;
- struct symhash *symbols;
+void add_include(struct filepointer *filep, struct inclist *file, struct inclist *file_red, char *include, boolean dot, boolean failOK, struct IncludesCollection* incCollection, struct symhash *symbols)
{
register struct inclist *newfile;
register struct filepointer *content;