[Libreoffice-commits] .: soltools/mkdepend
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Mon Oct 17 14:17:52 PDT 2011
soltools/mkdepend/include.c | 6 +-----
soltools/mkdepend/parse.c | 8 +-------
soltools/mkdepend/pr.c | 9 +--------
3 files changed, 3 insertions(+), 20 deletions(-)
New commits:
commit b6ba12c7290417e9d025342087718c43b8e60c15
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Oct 17 23:13:51 2011 +0200
Prevent clang errors about promoted type incompatibilities of K&R function parameters.
diff --git a/soltools/mkdepend/include.c b/soltools/mkdepend/include.c
index ac79e84..dbdd1cf 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 a63e481..939155a 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 37bf3a2..082e312 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;
More information about the Libreoffice-commits
mailing list