diff options
author | Russ Cox <rsc@golang.org> | 2011-04-13 16:26:25 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-04-13 16:26:25 -0400 |
commit | 4c5dd0e1eed79cf530c6963ce34ce78d950e0e79 (patch) | |
tree | 71aa739034ccec2f2517671cd131aee971a77854 | |
parent | 1499c78281d15fcc26198f3d61eb87b18729ed96 (diff) | |
download | go-4c5dd0e1eed79cf530c6963ce34ce78d950e0e79.tar.gz go-4c5dd0e1eed79cf530c6963ce34ce78d950e0e79.zip |
libmach: fix freebsd compiler errors
TBR=r
CC=golang-dev
https://golang.org/cl/4396045
-rw-r--r-- | src/libmach/freebsd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libmach/freebsd.c b/src/libmach/freebsd.c index 531861e94d..45de966ec0 100644 --- a/src/libmach/freebsd.c +++ b/src/libmach/freebsd.c @@ -8,24 +8,28 @@ int ctlproc(int pid, char *msg) { sysfatal("ctlproc unimplemented in FreeBSD"); + return -1; } char* proctextfile(int pid) { sysfatal("proctextfile unimplemented in FreeBSD"); + return nil; } char* procstatus(int pid) { sysfatal("procstatus unimplemented in FreeBSD"); + return nil; } Map* attachproc(int pid, Fhdr *fp) { sysfatal("attachproc unimplemented in FreeBSD"); + return nil; } void @@ -38,4 +42,5 @@ int procthreadpids(int pid, int *p, int np) { sysfatal("procthreadpids unimplemented in FreeBSD"); + return -1; } |