diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-02-05 16:16:38 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-02-08 10:26:00 -0500 |
commit | 658f7ac67472a880e19397773edd35a6214ed995 (patch) | |
tree | 86318c8a25e36a5ca59e5bee67552469035b6149 /includes/stg | |
parent | dfdae56d2ea9b9841e747c36cdff63a826045805 (diff) | |
download | haskell-658f7ac67472a880e19397773edd35a6214ed995.tar.gz |
includes: Avoid using single-line comments in HsFFI.h
While single-line comments are supported by C99, dtrace on SmartOS
apparently doesn't support them yet.
Diffstat (limited to 'includes/stg')
-rw-r--r-- | includes/stg/Types.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/includes/stg/Types.h b/includes/stg/Types.h index 8ce9e3c156..b9bb48228c 100644 --- a/includes/stg/Types.h +++ b/includes/stg/Types.h @@ -193,9 +193,11 @@ typedef StgWord8* StgByteArray; typedef void *(*(*StgFunPtr)(void))(void); typedef StgFunPtr StgFun(void); -// Forward declarations for the unregisterised backend, which -// only depends upon Stg.h and not the entirety of Rts.h, which -// is where these are defined. +/* + * Forward declarations for the unregisterised backend, which + * only depends upon Stg.h and not the entirety of Rts.h, which + * is where these are defined. + */ struct StgClosure_; struct StgThunk_; struct Capability_; |