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
88b308a2
Commit
88b308a2
authored
May 22, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
roll back 1193046 - fix build
R=dho CC=golang-dev
https://golang.org/cl/1257043
parent
b94f341b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
main.go
src/cmd/cgo/main.go
+0
-5
No files found.
src/cmd/cgo/main.go
View file @
88b308a2
...
...
@@ -83,11 +83,6 @@ func main() {
// Reset p.Preamble so that we don't end up with conflicting headers / defines
p
.
Preamble
=
builtinProlog
openProg
(
input
,
p
)
if
len
(
p
.
Vardef
)
==
0
&&
len
(
p
.
Funcdef
)
==
0
&&
len
(
p
.
Enumdef
)
==
0
&&
len
(
p
.
Constdef
)
==
0
{
fatal
(
"no C symbols were used in cgo file "
+
input
)
}
for
_
,
cref
:=
range
p
.
Crefs
{
// Convert C.ulong to C.unsigned long, etc.
if
expand
,
ok
:=
expandName
[
cref
.
Name
];
ok
{
...
...
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