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
f1880579
Commit
f1880579
authored
Jun 04, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loaded problem getting main from a library
SVN=121175
parent
6633be6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
go.h
src/cmd/gc/go.h
+1
-1
lex.c
src/cmd/gc/lex.c
+1
-1
No files found.
src/cmd/gc/go.h
View file @
f1880579
...
...
@@ -378,7 +378,7 @@ int yyparse(void);
/*
* lex.c
*/
int
main
(
int
,
char
*
[]);
int
main
lex
(
int
,
char
*
[]);
void
importfile
(
Val
*
);
void
cannedimports
(
void
);
void
unimportfile
();
...
...
src/cmd/gc/lex.c
View file @
f1880579
...
...
@@ -14,7 +14,7 @@ enum
};
int
main
(
int
argc
,
char
*
argv
[])
main
lex
(
int
argc
,
char
*
argv
[])
{
int
c
;
...
...
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