public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@redhat.com>
Subject: [PATCH 1/3] remove PARAMS from include/cgen
Date: Tue, 07 Jan 2014 18:26:00 -0000	[thread overview]
Message-ID: <1389119202-13386-2-git-send-email-tromey@redhat.com> (raw)
In-Reply-To: <1389119202-13386-1-git-send-email-tromey@redhat.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

  parent reply	other threads:[~2014-01-07 18:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 18:26 [PATCH 0/3] remove obsolete ansidecl.h macros from sim Tom Tromey
2014-01-07 18:26 ` [PATCH 3/3] remove VA_* " Tom Tromey
2014-01-07 18:34   ` Mike Frysinger
2014-01-07 18:26 ` Tom Tromey [this message]
2014-01-07 18:32   ` [PATCH 1/3] remove PARAMS from include/cgen Mike Frysinger
2014-01-07 18:27 ` [PATCH 2/3] remove PARAMS from sim Tom Tromey
2014-01-07 18:34   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389119202-13386-2-git-send-email-tromey@redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).