aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-21 20:18:12 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-21 20:18:12 +0000
commit4dec1c1297fd2dc87039bf089d4071b059708e69 (patch)
tree758b2136b357fe2eec21184222a13a203cd2b6d5
parent3f86071fb32401f2439feced5a44c2d81b306ec2 (diff)
downloadgdb-4dec1c1297fd2dc87039bf089d4071b059708e69.zip
gdb-4dec1c1297fd2dc87039bf089d4071b059708e69.tar.gz
gdb-4dec1c1297fd2dc87039bf089d4071b059708e69.tar.bz2
Fixed multiple definition of put_16 and get_16
-rw-r--r--include/bfd.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/bfd.h b/include/bfd.h
index 90899f5..379cc66 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -810,13 +810,9 @@ PROTO(boolean, bfd_scan_arch_mach,(CONST char *, enum bfd_architecture *,
#define bfd_h_get_64(abfd, ptr) BFD_SEND(abfd, bfd_h_getx64, \
((bfd_byte *) ptr))
-#define bfd_h_put_16(abfd, val, ptr) BFD_SEND(abfd, bfd_h_putx16, \
- (val, (bfd_byte *) ptr))
-#define bfd_h_get_16(abfd, ptr) BFD_SEND(abfd, bfd_h_getx16, \
- ((bfd_byte *) ptr))
+#define bfd_h_put_16(abfd, val, ptr) BFD_SEND(abfd, bfd_h_putx16, (val, (bfd_byte *) ptr))
+#define bfd_h_get_16(abfd, ptr) BFD_SEND(abfd, bfd_h_getx16, ((bfd_byte *) ptr))
-#define bfd_h_put_16(abfd, val, ptr) BFD_SEND(abfd, bfd_h_putx16,(val,ptr))
-#define bfd_h_get_16(abfd, ptr) BFD_SEND(abfd, bfd_h_getx16,(ptr))
/* General purpose one fits all. The do { } while (0) makes a single
statement out of it, for use in things like nested if-statements.