gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gprof / hertz.h
index 2ea01bac8828a349d9428b87f34eaf917f97eb43..7ea773824e220e73fb6b3f69c24817cf35c77961 100644 (file)
@@ -1,8 +1,25 @@
+/* Copyright (C) 2012-2020 Free Software Foundation, Inc.
+
+   This file is part of GNU Binutils.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
+\f
 #ifndef hertz_h
 #define hertz_h
 
-#include "gprof.h"
-
 #define        HZ_WRONG 0              /* impossible clock frequency */
 
 /*
  * 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
+extern int hertz (void);
 
 #endif /* hertz_h */
This page took 0.02386 seconds and 4 git commands to generate.