aboutsummaryrefslogtreecommitdiff
path: root/gas/ehopt.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-11-22 16:03:03 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-11-22 16:03:03 +0000
commitdd625418be793812f132dbb9e08a4b00fbea9868 (patch)
tree08abaf6dcca5d1720692732ce1156ef343fa97a4 /gas/ehopt.c
parent369864a44db723c61b3bc457e869abfe73ec7664 (diff)
downloadgdb-dd625418be793812f132dbb9e08a4b00fbea9868.zip
gdb-dd625418be793812f132dbb9e08a4b00fbea9868.tar.gz
gdb-dd625418be793812f132dbb9e08a4b00fbea9868.tar.bz2
* ehopt.c: Convert to ISO-C.
* emul.h: Likewise. * expr.c: Likewise. * expr.h: Likewise. * flonum-copy.c: Likewise. * flonum-mult.c: Likewise. * flonum.h: Likewise. * frags.c: Likewise. * frags.h: Likewise.
Diffstat (limited to 'gas/ehopt.c')
-rw-r--r--gas/ehopt.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/gas/ehopt.c b/gas/ehopt.c
index 6e19ae6..451aaff 100644
--- a/gas/ehopt.c
+++ b/gas/ehopt.c
@@ -94,13 +94,12 @@ struct cie_info
int z_augmentation;
};
-static int get_cie_info PARAMS ((struct cie_info *));
+static int get_cie_info (struct cie_info *);
/* Extract information from the CIE. */
static int
-get_cie_info (info)
- struct cie_info *info;
+get_cie_info (struct cie_info *info)
{
fragS *f;
fixS *fix;
@@ -248,9 +247,7 @@ get_cie_info (info)
change *EXP and *PNBYTES. */
int
-check_eh_frame (exp, pnbytes)
- expressionS *exp;
- unsigned int *pnbytes;
+check_eh_frame (expressionS *exp, unsigned int *pnbytes)
{
struct frame_data
{
@@ -457,8 +454,7 @@ check_eh_frame (exp, pnbytes)
relaxation loop. We set fr_subtype{0:2} to the expected length. */
int
-eh_frame_estimate_size_before_relax (frag)
- fragS *frag;
+eh_frame_estimate_size_before_relax (fragS *frag)
{
offsetT diff;
int ca = frag->fr_subtype >> 3;
@@ -485,8 +481,7 @@ eh_frame_estimate_size_before_relax (frag)
the frag. This returns the change in frag length. */
int
-eh_frame_relax_frag (frag)
- fragS *frag;
+eh_frame_relax_frag (fragS *frag)
{
int oldsize, newsize;
@@ -500,8 +495,7 @@ eh_frame_relax_frag (frag)
fr_subtype{0:2} will be the desired length of the frag. */
void
-eh_frame_convert_frag (frag)
- fragS *frag;
+eh_frame_convert_frag (fragS *frag)
{
offsetT diff;
fragS *loc4_frag;