mirror of
https://github.com/golang/go
synced 2024-11-21 20:14:52 -07:00
Use consistent types in .h file and .c file.
R=rsc CC=golang-dev https://golang.org/cl/224053
This commit is contained in:
parent
859e4d51c3
commit
bada653f4d
@ -10,7 +10,7 @@
|
||||
|
||||
// 3-level radix tree mapping page ids to Span*.
|
||||
void
|
||||
MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t))
|
||||
MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
|
||||
{
|
||||
m->allocator = allocator;
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// 3-level radix tree mapping page ids to Span*.
|
||||
void
|
||||
MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t))
|
||||
MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
|
||||
{
|
||||
m->allocator = allocator;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user