summaryrefslogtreecommitdiff
path: root/def.h
diff options
context:
space:
mode:
Diffstat (limited to 'def.h')
-rw-r--r--def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/def.h b/def.h
index c5a5830..9cbbe61 100644
--- a/def.h
+++ b/def.h
@@ -112,6 +112,7 @@ struct symtab {
struct inclist {
char *i_incstring; /* string from #include line */
char *i_file; /* path name of the include file */
+ char *i_realpath; /* path name processed by realpath() */
struct inclist **i_list; /* list of files it itself includes */
struct symtab **i_defs; /* symbol table for this file and its
children when merged */
@@ -146,7 +147,8 @@ struct symtab **fdefined(const char *symbol, struct inclist *file,
struct inclist **srcfile);
struct filepointer *getfile(const char *file);
void included_by(struct inclist *ip, struct inclist *newfile);
-struct inclist *newinclude(const char *newfile, const char *incstring);
+struct inclist *newinclude(const char *newfile, const char *incstring,
+ const char *incpath);
void inc_clean(void);
struct inclist *inc_path(const char *file, const char *include, int type);