Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
dabd9fe9
Commit
dabd9fe9
authored
Sep 24, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: work harder to avoid doing this ever again
TBR=adg CC=golang-dev
https://golang.org/cl/2218044
parent
5bd0bea7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mksyscall.sh
src/pkg/syscall/mksyscall.sh
+5
-0
No files found.
src/pkg/syscall/mksyscall.sh
View file @
dabd9fe9
...
...
@@ -77,6 +77,11 @@ while(<>) {
my @in
=
parseparamlist
(
$in
)
;
my @out
=
parseparamlist
(
$out
)
;
# Try in vain to keep people from editing this file.
# The theory is that they jump into the middle of the file
# without reading the header.
$text
.
=
"// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
\n\n
"
;
# Go function header.
my
$out_decl
=
@out ? sprintf
(
" (%s)"
,
join
(
', '
, @out
))
:
""
;
$text
.
=
sprintf
"func %s(%s)%s {
\n
"
,
$func
,
join
(
', '
, @in
)
,
$out_decl
;
...
...
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