]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gprof/hertz.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gprof / hertz.h
index 2ea01bac8828a349d9428b87f34eaf917f97eb43..c3b2891ee26b4f875539dbb0cd43dafbab913243 100644 (file)
@@ -1,8 +1,25 @@
+/* Copyright (C) 2012-2021 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 */