SCCS-vsn: usr.bin/gprof/printgprof.c 1.7
SCCS-vsn: usr.bin/gprof/gprof.h 1.10
- /* sccsid: @(#)gprof.h 1.9 (Berkeley) %G% */
+ /* sccsid: @(#)gprof.h 1.10 (Berkeley) %G% */
#include <stdio.h>
#include <sys/types.h>
#include <stdio.h>
#include <sys/types.h>
char *gmonname;
#define GMONNAME "gmon.out"
#define GMONSUM "gmon.sum"
char *gmonname;
#define GMONNAME "gmon.out"
#define GMONSUM "gmon.sum"
+
+ /*
+ * the directory where the descriptions of the fields
+ * of the profiles are kept.
+ */
+#define BLURBLIB "/usr/lib/"
- static char *sccsid = "@(#)printgprof.c 1.6 (Berkeley) %G%";
+ static char *sccsid = "@(#)printgprof.c 1.7 (Berkeley) %G%";
#endif lint
#include "gprof.h"
#endif lint
#include "gprof.h"
FILE *blurbfile;
int input;
FILE *blurbfile;
int input;
-# ifndef BLURBLIB
-# define BLURBLIB "./"
-# endif not BLURBLIB
sprintf( pathname , "%s%s" , BLURBLIB , blurbname );
blurbfile = fopen( pathname , "r" );
if ( blurbfile == NULL ) {
sprintf( pathname , "%s%s" , BLURBLIB , blurbname );
blurbfile = fopen( pathname , "r" );
if ( blurbfile == NULL ) {