X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Felfcomm.h;h=abf84b5cb9e8d7edf6c40d5c2eafd6fa664a7136;hb=48e9cc84058771da089a2e8e652f70ac20a8fac0;hp=9bf3c41edbd836ad5be768f71624fad11202355b;hpb=b3adc24a0713411ab38a21dc894dd40dbc5c8f4f;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/elfcomm.h b/binutils/elfcomm.h index 9bf3c41edb..abf84b5cb9 100644 --- a/binutils/elfcomm.h +++ b/binutils/elfcomm.h @@ -26,8 +26,8 @@ #include "aout/ar.h" -void error (const char *, ...) ATTRIBUTE_PRINTF_1; -void warn (const char *, ...) ATTRIBUTE_PRINTF_1; +extern void error (const char *, ...) ATTRIBUTE_PRINTF_1; +extern void warn (const char *, ...) ATTRIBUTE_PRINTF_1; typedef unsigned HOST_WIDEST_INT elf_vma; @@ -64,8 +64,8 @@ struct archive_info unsigned long longnames_size; /* Size of the long file names table. */ unsigned long nested_member_origin; /* Origin in the nested archive of the current member. */ unsigned long next_arhdr_offset; /* Offset of the next archive header. */ - bfd_boolean is_thin_archive; /* TRUE if this is a thin archive. */ - bfd_boolean uses_64bit_indices; /* TRUE if the index table uses 64bit entries. */ + int is_thin_archive; /* 1 if this is a thin archive. */ + int uses_64bit_indices; /* 1 if the index table uses 64bit entries. */ struct ar_hdr arhdr; /* Current archive header. */ }; @@ -74,7 +74,7 @@ extern char *adjust_relative_path (const char *, const char *, unsigned long); /* Read the symbol table and long-name table from an archive. */ extern int setup_archive (struct archive_info *, const char *, FILE *, - bfd_boolean, bfd_boolean); + off_t, int, int); /* Open and setup a nested archive, if not already open. */ extern int setup_nested_archive (struct archive_info *, const char *);