aboutsummaryrefslogtreecommitdiff
path: root/include/coff/external.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/coff/external.h')
-rw-r--r--include/coff/external.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/coff/external.h b/include/coff/external.h
index 6fd41f1..1e5f028 100644
--- a/include/coff/external.h
+++ b/include/coff/external.h
@@ -113,12 +113,12 @@ struct external_lineno
#define LINESZ (4 + L_LNNO_SIZE)
#if L_LNNO_SIZE == 4
-#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_32 (abfd, (bfd_byte *) (ext->l_lnno));
-#define PUT_LINENO_LNNO(abfd, val, ext) bfd_h_put_32 (abfd, val, (bfd_byte *) (ext->l_lnno));
+#define GET_LINENO_LNNO H_GET_32
+#define PUT_LINENO_LNNO H_PUT_32
#endif
#if L_LNNO_SIZE == 2
-#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_16 (abfd, (bfd_byte *) (ext->l_lnno));
-#define PUT_LINENO_LNNO(abfd,val, ext) bfd_h_put_16 (abfd,val, (bfd_byte *) (ext->l_lnno));
+#define GET_LINENO_LNNO H_GET_16
+#define PUT_LINENO_LNNO H_PUT_16
#endif
#endif /* not DO_NOT_DEFINE_LINENO */