Use LinkerInternals.h for exitLinker.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 9 Sep 2014 19:03:48 +0000 (12:03 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Thu, 2 Oct 2014 05:26:38 +0000 (22:26 -0700)
Part of remove HEAP_ALLOCED patch set (#8199)

Summary: Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>

Test Plan: validate

Reviewers: simonmar, austin

Subscribers: simonmar, ezyang, carter, thomie

Differential Revision: https://phabricator.haskell.org/D262

GHC Trac Issues: #8199

rts/RtsStartup.c

index 0d0267a..98a43c0 100644 (file)
@@ -36,7 +36,7 @@
 #include "Timer.h"
 #include "Globals.h"
 #include "FileLock.h"
-void exitLinker( void );        // there is no Linker.h file to include
+#include "LinkerInternals.h"
 
 #if defined(PROFILING)
 # include "ProfHeap.h"