From: Hans-Bernhard B. <br...@us...> - 2001-10-10 16:49:25
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv9796 Modified Files: build.c global.h main.c Log Message: Removed unused argument of addsrcfile() function. Index: build.c =================================================================== RCS file: /cvsroot/cscope/cscope/src/build.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** build.c 2001/07/09 14:58:25 1.2 --- build.c 2001/10/10 16:49:22 1.3 *************** *** 297,301 **** /* so get the list of included files */ while (i++ < oldnum && fscanf(oldrefs, "%s", oldname) == 1) { ! addsrcfile(mybasename(oldname), oldname); } (void) fclose(oldrefs); --- 297,301 ---- /* so get the list of included files */ while (i++ < oldnum && fscanf(oldrefs, "%s", oldname) == 1) { ! addsrcfile(oldname); } (void) fclose(oldrefs); Index: global.h =================================================================== RCS file: /cvsroot/cscope/cscope/src/global.h,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** global.h 2001/07/09 14:00:25 1.18 --- global.h 2001/10/10 16:49:22 1.19 *************** *** 270,274 **** void addcmd(int f, char *s); ! void addsrcfile(char *name, char *path); void askforchar(void); void askforreturn(void); --- 270,274 ---- void addcmd(int f, char *s); ! void addsrcfile(char *path); void askforchar(void); void askforreturn(void); Index: main.c =================================================================== RCS file: /cvsroot/cscope/cscope/src/main.c,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** main.c 2001/07/09 14:58:25 1.25 --- main.c 2001/10/10 16:49:22 1.26 *************** *** 609,613 **** if (infilelist(path) == NO && (s = inviewpath(path)) != NULL) { ! addsrcfile(path, s); } (void) putchar('\n'); --- 609,613 ---- if (infilelist(path) == NO && (s = inviewpath(path)) != NULL) { ! addsrcfile(s); } (void) putchar('\n'); |