1
0
mirror of https://github.com/golang/go synced 2024-11-19 23:04:40 -07:00

remove declarations for functions that cannot be called from c

(because they return values in the input parameters).

R=iant
DELTA=12  (0 added, 11 deleted, 1 changed)
OCL=30952
CL=30965
This commit is contained in:
Russ Cox 2009-06-30 20:01:59 -07:00
parent fa40c856ac
commit 150a64572b
2 changed files with 1 additions and 12 deletions

View File

@ -68,7 +68,7 @@ oldmal(uint32 n)
}
void
sys_mal(uint32 n, uint8 *ret)
sys·mal(uint32 n, uint8 *ret)
{
ret = mal(n);
FLUSH(&ret);

View File

@ -397,12 +397,7 @@ void notewakeup(Note*);
*/
#ifndef __GNUC__
#define sys_memclr sys·memclr
#define sys_catstring sys·catstring
#define sys_cmpstring sys·cmpstring
#define sys_getcallerpc sys·getcallerpc
#define sys_indexstring sys·indexstring
#define sys_intstring sys·intstring
#define sys_mal sys·mal
#define sys_mmap sys·mmap
#define sys_printarray sys·printarray
#define sys_printbool sys·printbool
@ -416,7 +411,6 @@ void notewakeup(Note*);
#define sys_printstring sys·printstring
#define sys_printuint sys·printuint
#define sys_setcallerpc sys·setcallerpc
#define sys_slicestring sys·slicestring
#endif
/*
@ -441,11 +435,6 @@ void sys_printpointer(void*);
void sys_printuint(uint64);
void sys_printhex(uint64);
void sys_printarray(Array);
void sys_catstring(String, String, String);
void sys_cmpstring(String, String, int32);
void sys_slicestring(String, int32, int32, String);
void sys_indexstring(String, int32, byte);
void sys_intstring(int64, String);
/*
* wrapped for go users