From 4dec1c1297fd2dc87039bf089d4071b059708e69 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Tue, 21 May 1991 20:18:12 +0000 Subject: [PATCH] Fixed multiple definition of put_16 and get_16 --- include/bfd.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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. -- 2.30.2