aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-04-18 09:58:26 +0000
committerAlan Modra <amodra@gmail.com>2006-04-18 09:58:26 +0000
commit6cbe03fb0f3c04045ba34bf58fc47fae2e859278 (patch)
tree447e141a319472ba8ff3de18e5115c8bd56e1f07 /gas/frags.c
parent23d9d9dee518a2346bb66c50257869075b8bf348 (diff)
downloadgdb-6cbe03fb0f3c04045ba34bf58fc47fae2e859278.zip
gdb-6cbe03fb0f3c04045ba34bf58fc47fae2e859278.tar.gz
gdb-6cbe03fb0f3c04045ba34bf58fc47fae2e859278.tar.bz2
* frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.
Diffstat (limited to 'gas/frags.c')
-rw-r--r--gas/frags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/frags.c b/gas/frags.c
index b08ef50..adb9b19 100644
--- a/gas/frags.c
+++ b/gas/frags.c
@@ -389,9 +389,9 @@ frag_append_1_char (int datum)
not already accounted for in the frag FR_ADDRESS. */
bfd_boolean
-frag_offset_fixed_p (fragS *frag1, fragS *frag2, bfd_vma *offset)
+frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, bfd_vma *offset)
{
- fragS *frag;
+ const fragS *frag;
bfd_vma off;
/* Start with offset initialised to difference between the two frags.