summaryrefslogtreecommitdiff
path: root/rts/RtsSymbols.h
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-11-02 15:01:27 -0400
committerBen Gamari <ben@smart-cactus.org>2016-11-02 15:42:00 -0400
commitc3446c63d64bdc5c2fa627f345c59e893ba0c176 (patch)
treecadc2851520aa523db0d81c2105d12de6023c78e /rts/RtsSymbols.h
parent3f05126253a7d68b37a388c26b586d94e871614e (diff)
downloadhaskell-c3446c63d64bdc5c2fa627f345c59e893ba0c176.tar.gz
Shuffle declarations into LinkerInternals.h
Summary: These will be needed across source files shortly. Test Plan: Validate Reviewers: erikd, austin, simonmar Reviewed By: simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2647
Diffstat (limited to 'rts/RtsSymbols.h')
-rw-r--r--rts/RtsSymbols.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/rts/RtsSymbols.h b/rts/RtsSymbols.h
index b8201636b0..dab2373ac6 100644
--- a/rts/RtsSymbols.h
+++ b/rts/RtsSymbols.h
@@ -10,6 +10,7 @@
#define RTS_SYMBOLS_H
#include "ghcautoconf.h"
+#include "LinkerInternals.h"
#ifdef LEADING_UNDERSCORE
#define MAYBE_LEADING_UNDERSCORE_STR(s) ("_" s)
@@ -17,9 +18,6 @@
#define MAYBE_LEADING_UNDERSCORE_STR(s) (s)
#endif
-typedef char SymbolName;
-typedef void SymbolAddr;
-
typedef struct _RtsSymbolVal {
const SymbolName* lbl;
SymbolAddr* addr;