aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2000-03-26 12:31:16 +0000
committerPhil Blundell <philb@gnu.org>2000-03-26 12:31:16 +0000
commit630376d212f2fd85ecc223ad1a51b3b125605749 (patch)
tree7d827849dbecb1d7cfd41ee08ebba65107800cc0 /gprof
parentfd5ccd4792aa18f3520f0d022eae6b2bfdc8fd0a (diff)
downloadgdb-630376d212f2fd85ecc223ad1a51b3b125605749.zip
gdb-630376d212f2fd85ecc223ad1a51b3b125605749.tar.gz
gdb-630376d212f2fd85ecc223ad1a51b3b125605749.tar.bz2
1999-09-29 Mark Kettenis <kettenis@gnu.org>
* hertz.h [MACH] (hertz): Remove macro. The <machine/mach_param.h> include doesn't exist on al Mach based systems, and the definition of hertz breaks compilation of hertz.c anyway.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog7
-rw-r--r--gprof/hertz.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index e921ffc..8be42e9 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,10 @@
+1999-09-29 Mark Kettenis <kettenis@gnu.org>
+
+ * hertz.h [MACH] (hertz): Remove macro. The
+ <machine/mach_param.h> include doesn't exist on al Mach based
+ systems, and the definition of hertz breaks compilation of hertz.c
+ anyway.
+
2000-02-22 Ian Lance Taylor <ian@zembu.com>
From Brad Lucier <lucier@math.purdue.edu>:
diff --git a/gprof/hertz.h b/gprof/hertz.h
index 2ea01ba..fc30a1f 100644
--- a/gprof/hertz.h
+++ b/gprof/hertz.h
@@ -10,13 +10,6 @@
* we return HZ_WRONG, an impossible sampling frequency.
*/
-/* FIXME: Checking for MACH here makes no sense when for a cross
- gprof. */
-#ifdef MACH
-#include <machine/mach_param.h>
-#define hertz() (HZ)
-#else
extern int hertz PARAMS ((void));
-#endif
#endif /* hertz_h */