This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/3] remove PARAMS from include/cgen
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Tue, 7 Jan 2014 11:26:40 -0700
- Subject: [PATCH 1/3] remove PARAMS from include/cgen
- Authentication-results: sourceware.org; auth=none
- References: <1389119202-13386-1-git-send-email-tromey at redhat dot com>
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.
---
include/cgen/ChangeLog | 4 ++++
include/cgen/bitset.h | 22 +++++++++++-----------
2 files changed, 15 insertions(+), 11 deletions(-)
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"
--
1.8.1.4