#ifndef _KXLD_SECT_H_
#define _KXLD_SECT_H_
-#include <mach/machine.h>
#include <sys/types.h>
#if KERNEL
#include <libkern/kxld_types.h>
/* 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)
/* 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_ */