From: Hans-Bernhard B. <br...@us...> - 2001-11-22 17:38:23
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv22236/src Modified Files: build.c command.c library.h Log Message: Some compiler warnings quenched Index: build.c =================================================================== RCS file: /cvsroot/cscope/cscope/src/build.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** build.c 2001/10/10 16:49:22 1.3 --- build.c 2001/11/22 17:38:19 1.4 *************** *** 46,49 **** --- 46,55 ---- #include "vp.h" + #if defined(USE_NCURSES) && !defined(RENAMED_NCURSES) + #include <ncurses.h> + #else + #include <curses.h> + #endif + /* Exported variables: */ Index: command.c =================================================================== RCS file: /cvsroot/cscope/cscope/src/command.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** command.c 2001/10/19 15:32:27 1.16 --- command.c 2001/11/22 17:38:19 1.17 *************** *** 37,40 **** --- 37,41 ---- #include "global.h" + #include "build.h" /* for rebuild() */ #include <stdlib.h> #if defined(USE_NCURSES) && !defined(RENAMED_NCURSES) Index: library.h =================================================================== RCS file: /cvsroot/cscope/cscope/src/library.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** library.h 2001/07/05 16:47:04 1.8 --- library.h 2001/11/22 17:38:19 1.9 *************** *** 59,63 **** * #include the relevant header, instead. Moreover, they don't seem * to be used, anyway ... */ char *regcmp(), *regex(); ! #endif /* CSCOPE_LIBRARY_H */ --- 59,64 ---- * #include the relevant header, instead. Moreover, they don't seem * to be used, anyway ... */ + #if 0 char *regcmp(), *regex(); ! #endif #endif /* CSCOPE_LIBRARY_H */ |