Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alex McKenna
GHC
Commits
26133989
Commit
26133989
authored
16 years ago
by
dsrogers
Browse files
Options
Downloads
Patches
Plain Diff
Add extern flag to avoid multiple symbol errors on Mac os X
parent
c4ec8f2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
rts/sm/BlockAlloc.h
+2
-2
2 additions, 2 deletions
rts/sm/BlockAlloc.h
rts/sm/GC.h
+1
-1
1 addition, 1 deletion
rts/sm/GC.h
with
3 additions
and
3 deletions
rts/sm/BlockAlloc.h
+
2
−
2
View file @
26133989
...
...
@@ -16,7 +16,7 @@ extern void checkFreeListSanity(void);
nat
countFreeList
(
void
);
#endif
lnat
n_alloc_blocks
;
// currently allocated blocks
lnat
hw_alloc_blocks
;
// high-water allocated blocks
extern
lnat
n_alloc_blocks
;
// currently allocated blocks
extern
lnat
hw_alloc_blocks
;
// high-water allocated blocks
#endif
/* BLOCK_ALLOC_H */
This diff is collapsed.
Click to expand it.
rts/sm/GC.h
+
1
−
1
View file @
26133989
...
...
@@ -39,7 +39,7 @@ extern SpinLock gc_alloc_block_sync;
#endif
#if defined(PROF_SPIN) && defined(THREADED_RTS)
StgWord64
whitehole_spin
;
extern
StgWord64
whitehole_spin
;
#endif
#define WORK_UNIT_WORDS 128
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment