Commit f255f801 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

Linker: Fix implicit function declaration warning on OS X

Introduced in commit 177aec69.

Test Plan: Validate on OSX and Linux.

Reviewers: austin, bgamari, hvr

Subscribers: goldfire, thomie

Differential Revision: https://phabricator.haskell.org/D2140
parent bcfee218
......@@ -342,10 +342,7 @@ static int ocVerifyImage_MachO ( ObjectCode* oc );
static int ocGetNames_MachO ( ObjectCode* oc );
static int ocResolve_MachO ( ObjectCode* oc );
static int ocRunInit_MachO ( ObjectCode* oc );
#if (USE_MMAP == 0)
static int machoGetMisalignment( FILE * );
#endif
#if NEED_SYMBOL_EXTRAS
static int ocAllocateSymbolExtras_MachO ( ObjectCode* oc );
#endif
......@@ -7320,7 +7317,7 @@ machoInitSymbolsWithoutUnderscore(void)
}
#endif
#if (USE_MMAP == 0)
#if defined(OBJFORMAT_MACHO)
/*
* Figure out by how much to shift the entire Mach-O file in memory
* when loading so that its single segment ends up 16-byte-aligned
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment