aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-04-13 23:20:14 +0000
committerPer Bothner <per@bothner.com>1993-04-13 23:20:14 +0000
commit9d65137307d0efc6f2623614747ffc30b4ef26eb (patch)
treef6a37cc0b43e6ccec8a98060cfcd5eeb488daa68 /gprof/gprof.h
parente2ff731bf7586317aea1dfbe588cc8d1ec182457 (diff)
downloadgdb-9d65137307d0efc6f2623614747ffc30b4ef26eb.zip
gdb-9d65137307d0efc6f2623614747ffc30b4ef26eb.tar.gz
gdb-9d65137307d0efc6f2623614747ffc30b4ef26eb.tar.bz2
* M Makefile.in: Add -g to CFLAGS.
Ads LDFLAGS and use in place of CFLAGS where appropriate. * configure.in: Make a sysdep.hlink in the same way other bfd-based directories do. * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned short'. * gprof.h: #include sysdep.h instead of a bunch of stuff. * gprof.c (main): Fix typo gproff->gprof.
Diffstat (limited to 'gprof/gprof.h')
-rw-r--r--gprof/gprof.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 28813a3..d10f50c 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -19,12 +19,7 @@
* @(#)gprof.h 5.9 (Berkeley) 6/1/90
*/
-#include <stdio.h>
-#ifdef __STDC__
-#include <stdlib.h>
-#endif /* __STDC__ */
-#include <sys/types.h>
-#include <sys/stat.h>
+#include "sysdep.h"
#include "bfd.h"
#include "gmon.h"
@@ -60,7 +55,7 @@ typedef int bool;
*/
long hz;
-typedef u_short UNIT; /* unit of profiling */
+typedef unsigned short UNIT; /* unit of profiling */
char *a_outname;
#define A_OUTNAME "a.out"