From: Steve Chamberlain Date: Tue, 21 May 1991 20:18:12 +0000 (+0000) Subject: Fixed multiple definition of put_16 and get_16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dec1c1297fd2dc87039bf089d4071b059708e69;p=binutils-gdb.git Fixed multiple definition of put_16 and get_16 --- diff --git a/include/bfd.h b/include/bfd.h index 90899f5ccbe..379cc66a8bf 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.