From 630376d212f2fd85ecc223ad1a51b3b125605749 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 26 Mar 2000 12:31:16 +0000 Subject: [PATCH] 1999-09-29 Mark Kettenis * hertz.h [MACH] (hertz): Remove macro. The include doesn't exist on al Mach based systems, and the definition of hertz breaks compilation of hertz.c anyway. --- gprof/ChangeLog | 7 +++++++ gprof/hertz.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index e921ffc6c8..8be42e9aca 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,10 @@ +1999-09-29 Mark Kettenis + + * hertz.h [MACH] (hertz): Remove macro. The + 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 From Brad Lucier : diff --git a/gprof/hertz.h b/gprof/hertz.h index 2ea01bac88..fc30a1f9d7 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 -#define hertz() (HZ) -#else extern int hertz PARAMS ((void)); -#endif #endif /* hertz_h */