Commit 2dc751ac authored by Anthony Martin's avatar Anthony Martin

runtime, cmd/gc: clean up function protoypes

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8652043
parent 8b85a3d4
......@@ -1026,7 +1026,8 @@ dalgsym(Type *t)
}
static int
gcinline(Type *t) {
gcinline(Type *t)
{
switch(t->etype) {
case TARRAY:
if(t->bound == 1)
......
......@@ -301,13 +301,15 @@ runtime·RaceReleaseMerge(void *addr)
}
// func RaceSemacquire(s *uint32)
void runtime·RaceSemacquire(uint32 *s)
void
runtime·RaceSemacquire(uint32 *s)
{
runtime·semacquire(s);
}
// func RaceSemrelease(s *uint32)
void runtime·RaceSemrelease(uint32 *s)
void
runtime·RaceSemrelease(uint32 *s)
{
runtime·semrelease(s);
}
......@@ -329,13 +331,15 @@ runtime·RaceWrite(void *addr)
}
// func RaceDisable()
void runtime·RaceDisable(void)
void
runtime·RaceDisable(void)
{
g->raceignore++;
}
// func RaceEnable()
void runtime·RaceEnable(void)
void
runtime·RaceEnable(void)
{
g->raceignore--;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment