1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:24:42 -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:
Ian Lance Taylor 2010-02-25 10:13:09 -08:00
parent 859e4d51c3
commit bada653f4d
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
// 3-level radix tree mapping page ids to Span*. // 3-level radix tree mapping page ids to Span*.
void void
MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t)) MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
{ {
m->allocator = allocator; m->allocator = allocator;
} }

View File

@ -10,7 +10,7 @@
// 3-level radix tree mapping page ids to Span*. // 3-level radix tree mapping page ids to Span*.
void void
MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t)) MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
{ {
m->allocator = allocator; m->allocator = allocator;
} }