Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
2dc751ac
Commit
2dc751ac
authored
May 18, 2013
by
Anthony Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime, cmd/gc: clean up function protoypes
R=golang-dev, r CC=golang-dev
https://golang.org/cl/8652043
parent
8b85a3d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
src/cmd/gc/reflect.c
src/cmd/gc/reflect.c
+2
-1
src/pkg/runtime/race.c
src/pkg/runtime/race.c
+8
-4
No files found.
src/cmd/gc/reflect.c
View file @
2dc751ac
...
...
@@ -1026,7 +1026,8 @@ dalgsym(Type *t)
}
static
int
gcinline
(
Type
*
t
)
{
gcinline
(
Type
*
t
)
{
switch
(
t
->
etype
)
{
case
TARRAY
:
if
(
t
->
bound
==
1
)
...
...
src/pkg/runtime/race.c
View file @
2dc751ac
...
...
@@ -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
--
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment