]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gprof/sym_ids.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gprof / sym_ids.h
index 68604de3fd2bbe1d38d8c432e5f30f8f0f8eaf78..19462651d7f1748773e84e3ed4e367273b89709b 100644 (file)
@@ -1,9 +1,29 @@
+/* sym_ids.h
+
+   Copyright (C) 2000-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 sym_ids_h
 #define sym_ids_h
 
-#include "symtab.h"
-
-typedef enum {
+typedef enum
+  {
     INCL_GRAPH = 0, EXCL_GRAPH,
     INCL_ARCS, EXCL_ARCS,
     INCL_FLAT, EXCL_FLAT,
@@ -11,13 +31,13 @@ typedef enum {
     INCL_ANNO, EXCL_ANNO,
     INCL_EXEC, EXCL_EXEC,
     NUM_TABLES
-} Table_Id;
+  }
+Table_Id;
 
 extern Sym_Table syms[NUM_TABLES];
 
-extern void sym_id_add PARAMS((const char *spec, Table_Id which_table));
-extern void sym_id_parse PARAMS((void));
-extern bool sym_id_arc_is_present PARAMS((Sym_Table *symtab,
-                                         Sym *from, Sym *to));
+extern void sym_id_add (const char *, Table_Id);
+extern void sym_id_parse (void);
+extern bfd_boolean sym_id_arc_is_present (Sym_Table *, Sym *, Sym *);
 
 #endif /* sym_ids_h */