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
aabbcda8
Commit
aabbcda8
authored
Mar 06, 2012
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: remove unused runtime·signame and runtime·newError
R=golang-dev CC=golang-dev
https://golang.org/cl/5756044
parent
eb2163ff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
31 deletions
+0
-31
runtime.h
src/pkg/runtime/runtime.h
+0
-2
signal_plan9_386.c
src/pkg/runtime/signal_plan9_386.c
+0
-6
signal_unix.c
src/pkg/runtime/signal_unix.c
+0
-8
thread_windows.c
src/pkg/runtime/thread_windows.c
+0
-15
No files found.
src/pkg/runtime/runtime.h
View file @
aabbcda8
...
@@ -675,7 +675,6 @@ void runtime·panicslice(void);
...
@@ -675,7 +675,6 @@ void runtime·panicslice(void);
/*
/*
* runtime c-called (but written in Go)
* runtime c-called (but written in Go)
*/
*/
void
runtime
·
newError
(
String
,
Eface
*
);
void
runtime
·
printany
(
Eface
);
void
runtime
·
printany
(
Eface
);
void
runtime
·
newTypeAssertionError
(
String
*
,
String
*
,
String
*
,
String
*
,
Eface
*
);
void
runtime
·
newTypeAssertionError
(
String
*
,
String
*
,
String
*
,
String
*
,
Eface
*
);
void
runtime
·
newErrorString
(
String
,
Eface
*
);
void
runtime
·
newErrorString
(
String
,
Eface
*
);
...
@@ -706,7 +705,6 @@ float64 runtime·ldexp(float64 d, int32 e);
...
@@ -706,7 +705,6 @@ float64 runtime·ldexp(float64 d, int32 e);
float64
runtime
·
modf
(
float64
d
,
float64
*
ip
);
float64
runtime
·
modf
(
float64
d
,
float64
*
ip
);
void
runtime
·
semacquire
(
uint32
*
);
void
runtime
·
semacquire
(
uint32
*
);
void
runtime
·
semrelease
(
uint32
*
);
void
runtime
·
semrelease
(
uint32
*
);
String
runtime
·
signame
(
int32
sig
);
int32
runtime
·
gomaxprocsfunc
(
int32
n
);
int32
runtime
·
gomaxprocsfunc
(
int32
n
);
void
runtime
·
procyield
(
uint32
);
void
runtime
·
procyield
(
uint32
);
void
runtime
·
osyield
(
void
);
void
runtime
·
osyield
(
void
);
...
...
src/pkg/runtime/signal_plan9_386.c
View file @
aabbcda8
...
@@ -4,12 +4,6 @@
...
@@ -4,12 +4,6 @@
#include "runtime.h"
#include "runtime.h"
String
runtime
·
signame
(
int32
)
{
return
runtime
·
emptystring
;
}
void
void
runtime
·
sigenable
(
uint32
sig
)
runtime
·
sigenable
(
uint32
sig
)
{
{
...
...
src/pkg/runtime/signal_unix.c
View file @
aabbcda8
...
@@ -10,14 +10,6 @@
...
@@ -10,14 +10,6 @@
extern
SigTab
runtime
·
sigtab
[];
extern
SigTab
runtime
·
sigtab
[];
String
runtime
·
signame
(
int32
sig
)
{
if
(
sig
<
0
||
sig
>=
NSIG
)
return
runtime
·
emptystring
;
return
runtime
·
gostringnocopy
((
byte
*
)
runtime
·
sigtab
[
sig
].
name
);
}
void
void
runtime
·
initsig
(
void
)
runtime
·
initsig
(
void
)
{
{
...
...
src/pkg/runtime/thread_windows.c
View file @
aabbcda8
...
@@ -302,21 +302,6 @@ runtime·initsig(void)
...
@@ -302,21 +302,6 @@ runtime·initsig(void)
USED
(
p
);
USED
(
p
);
}
}
String
runtime
·
signame
(
int32
sig
)
{
int8
*
s
;
switch
(
sig
)
{
case
SIGINT
:
s
=
"SIGINT: interrupt"
;
break
;
default
:
return
runtime
·
emptystring
;
}
return
runtime
·
gostringnocopy
((
byte
*
)
s
);
}
uint32
uint32
runtime
·
ctrlhandler1
(
uint32
type
)
runtime
·
ctrlhandler1
(
uint32
type
)
{
{
...
...
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