summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2011-04-26 08:44:57 +0200
committerMichael Meeks <michael.meeks@novell.com>2011-04-26 14:57:14 +0100
commit3e7b2bfce69431713aecb5836ecb9598aefe8979 (patch)
tree61d9cc725904f683773a19383da176e605205acd
parentb41e01d92fe4947c3e19214d4496d59d566ee8aa (diff)
Fixing prototypes in soltools/mkdepend/ .
-rw-r--r--soltools/mkdepend/def.h16
-rw-r--r--soltools/mkdepend/ifparser.h2
2 files changed, 10 insertions, 8 deletions
diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h
index 6a3086df7bf0..1ec838231d68 100644
--- a/soltools/mkdepend/def.h
+++ b/soltools/mkdepend/def.h
@@ -153,13 +153,15 @@ char *malloc();
char *realloc();
#endif
-char *copy();
-char *base_name();
-char *get_line();
-char *isdefined();
-struct filepointer *getfile();
-struct inclist *newinclude();
-struct inclist *inc_path();
+char *copy(char *);
+char *base_name(char *);
+char *get_line(struct filepointer *);
+char *isdefined(char *);
+struct filepointer *getfile(char *);
+struct inclist *newinclude(register char *newfile,
+ register char *incstring);
+struct inclist *inc_path(char *, char *, boolean,
+ struct IncludesCollection *);
void define( char *def, struct symhash **symbols );
void hash_define(char *name, char * val, struct symhash **symbols);
diff --git a/soltools/mkdepend/ifparser.h b/soltools/mkdepend/ifparser.h
index e6cb5686c3f1..a5dfbd38bfdd 100644
--- a/soltools/mkdepend/ifparser.h
+++ b/soltools/mkdepend/ifparser.h
@@ -72,6 +72,6 @@ typedef struct _if_parser {
char *data;
} IfParser;
-const char *ParseIfExpression (/* IfParser *, const char *, int * */);
+const char *ParseIfExpression (IfParser *, const char *, int *);
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */