[BACK]Return to gprof.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

Diff for /src/usr.bin/gprof/gprof.c between version 1.16 and 1.17

version 1.16, 2005/12/08 22:34:00 version 1.17, 2006/03/25 19:06:36
Line 213 
Line 213 
      *  and the arcs.       *  and the arcs.
      */       */
 void  void
 getpfile(char *filename)  getpfile(const char *filename)
 {  {
     FILE                *pfile;      FILE                *pfile;
     FILE                *openpfile();  
     struct rawarc       arc;      struct rawarc       arc;
   
     pfile = openpfile(filename);      pfile = openpfile(filename);
Line 241 
Line 240 
 }  }
   
 FILE *  FILE *
 openpfile(char *filename)  openpfile(const char *filename)
 {  {
     struct gmonhdr      tmp;      struct gmonhdr      tmp;
     FILE                *pfile;      FILE                *pfile;
Line 321 
Line 320 
  * dump out the gmon.sum file   * dump out the gmon.sum file
  */   */
 void  void
 dumpsum(char *sumfile)  dumpsum(const char *sumfile)
 {  {
     nltype *nlp;      nltype *nlp;
     arctype *arcp;      arctype *arcp;

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17