aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-01-05 19:41:32 -0700
committerTom Tromey <tromey@redhat.com>2014-01-07 09:17:05 -0700
commit1f635d209e61d900a6326aa281e697e31fcdae1e (patch)
treef36df379ec0d70d29fb3309205757b8ea587b4e1
parent1651e569b457b0cbd6d0a57c09950166c7503f6b (diff)
downloadgdb-1f635d209e61d900a6326aa281e697e31fcdae1e.zip
gdb-1f635d209e61d900a6326aa281e697e31fcdae1e.tar.gz
gdb-1f635d209e61d900a6326aa281e697e31fcdae1e.tar.bz2
remove PARAMS from include/cgen
This removes the remaining uses of PARAMS from include/cgen. Tested by rebuilding; a file in opcodes includes this header. 2014-01-06 Tom Tromey <tromey@redhat.com> * bitset.h: Remove uses of PARAMS.
-rw-r--r--include/cgen/ChangeLog4
-rw-r--r--include/cgen/bitset.h22
2 files changed, 15 insertions, 11 deletions
diff --git a/include/cgen/ChangeLog b/include/cgen/ChangeLog
index 7692d4e..f3a4639 100644
--- a/include/cgen/ChangeLog
+++ b/include/cgen/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-06 Tom Tromey <tromey@redhat.com>
+
+ * bitset.h: Remove uses of PARAMS.
+
2013-07-18 Andrew Neitsch <andrew@neitsch.ca>
PR binutils/15728
diff --git a/include/cgen/bitset.h b/include/cgen/bitset.h
index 7a6a993..f4481c1 100644
--- a/include/cgen/bitset.h
+++ b/include/cgen/bitset.h
@@ -1,5 +1,5 @@
/* Header file the type CGEN_BITSET.
- Copyright 2002, 2005, 2009 Free Software Foundation, Inc.
+ Copyright 2002, 2005, 2009, 2013 Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
@@ -38,16 +38,16 @@ typedef struct cgen_bitset
char *bits;
} CGEN_BITSET;
-extern CGEN_BITSET *cgen_bitset_create PARAMS ((unsigned));
-extern void cgen_bitset_init PARAMS ((CGEN_BITSET *, unsigned));
-extern void cgen_bitset_clear PARAMS ((CGEN_BITSET *));
-extern void cgen_bitset_add PARAMS ((CGEN_BITSET *, unsigned));
-extern void cgen_bitset_set PARAMS ((CGEN_BITSET *, unsigned));
-extern int cgen_bitset_compare PARAMS ((CGEN_BITSET *, CGEN_BITSET *));
-extern void cgen_bitset_union PARAMS ((CGEN_BITSET *, CGEN_BITSET *, CGEN_BITSET *));
-extern int cgen_bitset_intersect_p PARAMS ((CGEN_BITSET *, CGEN_BITSET *));
-extern int cgen_bitset_contains PARAMS ((CGEN_BITSET *, unsigned));
-extern CGEN_BITSET *cgen_bitset_copy PARAMS ((CGEN_BITSET *));
+extern CGEN_BITSET *cgen_bitset_create (unsigned);
+extern void cgen_bitset_init (CGEN_BITSET *, unsigned);
+extern void cgen_bitset_clear (CGEN_BITSET *);
+extern void cgen_bitset_add (CGEN_BITSET *, unsigned);
+extern void cgen_bitset_set (CGEN_BITSET *, unsigned);
+extern int cgen_bitset_compare (CGEN_BITSET *, CGEN_BITSET *);
+extern void cgen_bitset_union (CGEN_BITSET *, CGEN_BITSET *, CGEN_BITSET *);
+extern int cgen_bitset_intersect_p (CGEN_BITSET *, CGEN_BITSET *);
+extern int cgen_bitset_contains (CGEN_BITSET *, unsigned);
+extern CGEN_BITSET *cgen_bitset_copy (CGEN_BITSET *);
#ifdef __cplusplus
} // extern "C"