44 |
|
|
45 |
static char command[MAXFILLEN]; |
static char command[MAXFILLEN]; |
46 |
|
|
47 |
|
/* |
48 |
|
* Open duplicate object index file. |
49 |
|
* |
50 |
|
* i) db tag type(GTAGS, GRTAGS, GSYMS) |
51 |
|
* r) op file pointer |
52 |
|
*/ |
53 |
static FILE * |
static FILE * |
54 |
open_dup_file(db, count) |
open_dup_file(db, count) |
55 |
int db; |
int db; |
71 |
} |
} |
72 |
return op; |
return op; |
73 |
} |
} |
74 |
|
/* |
75 |
|
* Close duplicate object index file. |
76 |
|
* |
77 |
|
* i) op file pointer |
78 |
|
*/ |
79 |
static void |
static void |
80 |
close_dup_file(op) |
close_dup_file(op) |
81 |
FILE *op; |
FILE *op; |
87 |
fclose(op); |
fclose(op); |
88 |
} |
} |
89 |
} |
} |
|
/*--------------------------------------------------------------*/ |
|
|
/* Make duplicate object index */ |
|
|
/*--------------------------------------------------------------*/ |
|
90 |
/* |
/* |
91 |
* i) file |
* Make duplicate object index. |
92 |
* i) incdir directory which has include files. |
* |
93 |
|
* If referred tag is only one, direct link which points the tag is generated. |
94 |
|
* Else if two or more tag exists, indirect link which points the tag list |
95 |
|
* is generated. |
96 |
*/ |
*/ |
97 |
int |
int |
98 |
makedupindex() |
makedupindex() |