mirror of
https://github.com/golang/go
synced 2024-11-21 23:14:40 -07:00
libmach: fix freebsd compiler errors
TBR=r CC=golang-dev https://golang.org/cl/4396045
This commit is contained in:
parent
1499c78281
commit
4c5dd0e1ee
@ -8,24 +8,28 @@ int
|
|||||||
ctlproc(int pid, char *msg)
|
ctlproc(int pid, char *msg)
|
||||||
{
|
{
|
||||||
sysfatal("ctlproc unimplemented in FreeBSD");
|
sysfatal("ctlproc unimplemented in FreeBSD");
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
char*
|
||||||
proctextfile(int pid)
|
proctextfile(int pid)
|
||||||
{
|
{
|
||||||
sysfatal("proctextfile unimplemented in FreeBSD");
|
sysfatal("proctextfile unimplemented in FreeBSD");
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
char*
|
||||||
procstatus(int pid)
|
procstatus(int pid)
|
||||||
{
|
{
|
||||||
sysfatal("procstatus unimplemented in FreeBSD");
|
sysfatal("procstatus unimplemented in FreeBSD");
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
Map*
|
Map*
|
||||||
attachproc(int pid, Fhdr *fp)
|
attachproc(int pid, Fhdr *fp)
|
||||||
{
|
{
|
||||||
sysfatal("attachproc unimplemented in FreeBSD");
|
sysfatal("attachproc unimplemented in FreeBSD");
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -38,4 +42,5 @@ int
|
|||||||
procthreadpids(int pid, int *p, int np)
|
procthreadpids(int pid, int *p, int np)
|
||||||
{
|
{
|
||||||
sysfatal("procthreadpids unimplemented in FreeBSD");
|
sysfatal("procthreadpids unimplemented in FreeBSD");
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user