]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/kxld/kxld_sect.h
xnu-3248.60.10.tar.gz
[apple/xnu.git] / libkern / kxld / kxld_sect.h
index cf79fde753990d9a32aae992f3eb7926d7dae3ff..96d0b1b358a315088d1d43b1cf1fcfc11aacd961 100644 (file)
@@ -28,7 +28,6 @@
 #ifndef _KXLD_SECT_H_
 #define _KXLD_SECT_H_
 
-#include <mach/machine.h>
 #include <sys/types.h>
 #if KERNEL
     #include <libkern/kxld_types.h>
@@ -125,7 +124,7 @@ kxld_addr_t kxld_sect_align_address(const KXLDSect *sect, kxld_addr_t address)
 
 /* Returns the space required by the exported Mach-O header */
 u_long kxld_sect_get_macho_header_size(boolean_t is_32_bit)
-    __attribute__((const, nonnull, visibility("hidden")));
+    __attribute__((const, visibility("hidden")));
 
 /* Returns the space required by the exported Mach-O data */
 u_long kxld_sect_get_macho_data_size(const KXLDSect *sect)
@@ -176,8 +175,7 @@ kern_return_t kxld_sect_populate_got(KXLDSect *sect, struct kxld_symtab *symtab,
 
 /* Processes all of a section's relocation entries */
 kern_return_t kxld_sect_process_relocs(KXLDSect *sect, 
-    const struct kxld_relocator *relocator, const KXLDArray *sectarray,
-    const struct kxld_symtab *symtab)
+    struct kxld_relocator *relocator)
     __attribute__((nonnull, visibility("hidden")));
 
 #endif /* _KXLD_SECT_H_ */