summaryrefslogtreecommitdiff
path: root/src/libmach/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmach/windows.c')
-rw-r--r--src/libmach/windows.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libmach/windows.c b/src/libmach/windows.c
index aea7bace0..9ffc3af01 100644
--- a/src/libmach/windows.c
+++ b/src/libmach/windows.c
@@ -7,6 +7,8 @@
int
ctlproc(int pid, char *msg)
{
+ USED(pid);
+ USED(msg);
sysfatal("ctlproc unimplemented in Windows");
return -1;
}
@@ -14,6 +16,7 @@ ctlproc(int pid, char *msg)
char*
proctextfile(int pid)
{
+ USED(pid);
sysfatal("proctextfile unimplemented in Windows");
return nil;
}
@@ -21,6 +24,7 @@ proctextfile(int pid)
char*
procstatus(int pid)
{
+ USED(pid);
sysfatal("procstatus unimplemented in Windows");
return nil;
}
@@ -28,6 +32,8 @@ procstatus(int pid)
Map*
attachproc(int pid, Fhdr *fp)
{
+ USED(pid);
+ USED(fp);
sysfatal("attachproc unimplemented in Windows");
return nil;
}
@@ -35,12 +41,16 @@ attachproc(int pid, Fhdr *fp)
void
detachproc(Map *m)
{
+ USED(m);
sysfatal("detachproc unimplemented in Windows");
}
int
procthreadpids(int pid, int *p, int np)
{
+ USED(pid);
+ USED(p);
+ USED(np);
sysfatal("procthreadpids unimplemented in Windows");
return -1;
}
@@ -59,6 +69,10 @@ pread(int fd, void *buf, int count, int offset)
int
pwrite(int fd, void *buf, int count, int offset)
{
+ USED(fd);
+ USED(buf);
+ USED(count);
+ USED(offset);
sysfatal("pwrite unimplemented in Windows");
return -1;
}
@@ -66,6 +80,8 @@ pwrite(int fd, void *buf, int count, int offset)
int
nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
{
+ USED(rqtp);
+ USED(rmtp);
sysfatal("nanosleep unimplemented in Windows");
return -1;
}