summaryrefslogtreecommitdiff
path: root/src/libmach/freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmach/freebsd.c')
-rw-r--r--src/libmach/freebsd.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libmach/freebsd.c b/src/libmach/freebsd.c
index 45de966ec..c4e5efddf 100644
--- a/src/libmach/freebsd.c
+++ b/src/libmach/freebsd.c
@@ -7,6 +7,9 @@
int
ctlproc(int pid, char *msg)
{
+ USED(pid);
+ USED(msg);
+
sysfatal("ctlproc unimplemented in FreeBSD");
return -1;
}
@@ -14,6 +17,8 @@ ctlproc(int pid, char *msg)
char*
proctextfile(int pid)
{
+ USED(pid);
+
sysfatal("proctextfile unimplemented in FreeBSD");
return nil;
}
@@ -21,6 +26,8 @@ proctextfile(int pid)
char*
procstatus(int pid)
{
+ USED(pid);
+
sysfatal("procstatus unimplemented in FreeBSD");
return nil;
}
@@ -28,6 +35,9 @@ procstatus(int pid)
Map*
attachproc(int pid, Fhdr *fp)
{
+ USED(pid);
+ USED(fp);
+
sysfatal("attachproc unimplemented in FreeBSD");
return nil;
}
@@ -35,12 +45,18 @@ attachproc(int pid, Fhdr *fp)
void
detachproc(Map *m)
{
+ USED(m);
+
sysfatal("detachproc unimplemented in FreeBSD");
}
int
procthreadpids(int pid, int *p, int np)
{
+ USED(pid);
+ USED(p);
+ USED(np);
+
sysfatal("procthreadpids unimplemented in FreeBSD");
return -1;
}