From: John L. <mov...@us...> - 2001-09-21 08:29:13
|
Update of /cvsroot/oprofile/oprofile/pp In directory usw-pr-cvs1:/tmp/cvs-serv22548/pp Modified Files: oprofpp.c Log Message: likely/unlikely support. needs fixing and testing with pre13 Index: oprofpp.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/oprofpp.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- oprofpp.c 2001/09/21 06:33:17 1.49 +++ oprofpp.c 2001/09/21 08:29:10 1.50 @@ -15,6 +15,8 @@ * Place - Suite 330, Boston, MA 02111-1307, USA. */ +// FIXME: rename to oprofpp.cpp + #include <algorithm> #include "oprofpp.h" @@ -128,7 +130,7 @@ * * post-condition: samplefile and imagefile are setup */ -void opp_get_options(int argc, char const *argv[]) +void opp_get_options(int argc, const char **argv) { poptContext optcon; char c; @@ -138,7 +140,7 @@ int counter; /* Some old version of popt needs the cast to char ** */ - optcon = poptGetContext(NULL, argc, (char **)argv, options, 0); + optcon = poptGetContext(NULL, argc, argv, options, 0); c=poptGetNextOpt(optcon); |