52 |
* setupvariables: load variables regard to BSD OBJ directory. |
* setupvariables: load variables regard to BSD OBJ directory. |
53 |
*/ |
*/ |
54 |
static void |
static void |
55 |
setupvariables(verbose) |
setupvariables(int verbose) |
|
int verbose; |
|
56 |
{ |
{ |
57 |
const char *p; |
const char *p; |
58 |
|
|
85 |
* This behavior is same with BSD make(1)'s one. |
* This behavior is same with BSD make(1)'s one. |
86 |
*/ |
*/ |
87 |
int |
int |
88 |
gtagsexist(candidate, dbpath, size, verbose) |
gtagsexist(const char *candidate, char *dbpath, int size, int verbose) |
|
const char *candidate; |
|
|
char *dbpath; |
|
|
int size; |
|
|
int verbose; |
|
89 |
{ |
{ |
90 |
char path[MAXPATHLEN+1]; |
char path[MAXPATHLEN+1]; |
91 |
|
|
148 |
* and exit. |
* and exit. |
149 |
*/ |
*/ |
150 |
void |
void |
151 |
getdbpath(cwd, root, dbpath, verbose) |
getdbpath(char *cwd, char *root, char *dbpath, int verbose) |
|
char *cwd; |
|
|
char *root; |
|
|
char *dbpath; |
|
|
int verbose; |
|
152 |
{ |
{ |
153 |
struct stat sb; |
struct stat sb; |
154 |
char *p; |
char *p; |