summaryrefslogtreecommitdiff
path: root/remote-stub.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
committerPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
commitf29b86c314e6e2b44a1eb83f1b44a3849d82655e (patch)
tree0e83f1ad4a44542b088878e8b9d6de48f16e949d /remote-stub.c
parentbe8c3dbc974c35fac33c8392b89482c10e4f8650 (diff)
downloadgunmake-f29b86c314e6e2b44a1eb83f1b44a3849d82655e.tar.gz
Many compiler warning cleanups.
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>) Maintainer enhancements to clean up the tree.
Diffstat (limited to 'remote-stub.c')
-rw-r--r--remote-stub.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/remote-stub.c b/remote-stub.c
index 73e6018..1496488 100644
--- a/remote-stub.c
+++ b/remote-stub.c
@@ -42,7 +42,7 @@ remote_cleanup (void)
/* Return nonzero if the next job should be done remotely. */
int
-start_remote_job_p (int first_p)
+start_remote_job_p (int first_p UNUSED)
{
return 0;
}
@@ -55,8 +55,9 @@ start_remote_job_p (int first_p)
nonzero if it is remote (meaning *ID_PTR is a process ID). */
int
-start_remote_job (char **argv, char **envp, int stdin_fd,
- int *is_remote, int *id_ptr, int *used_stdin)
+start_remote_job (char **argv UNUSED, char **envp UNUSED, int stdin_fd UNUSED,
+ int *is_remote UNUSED, int *id_ptr UNUSED,
+ int *used_stdin UNUSED)
{
return -1;
}
@@ -68,8 +69,8 @@ start_remote_job (char **argv, char **envp, int stdin_fd,
0 if we would have to block and !BLOCK, or < 0 if there were none. */
int
-remote_status (int *exit_code_ptr, int *signal_ptr, int *coredump_ptr,
- int block)
+remote_status (int *exit_code_ptr UNUSED, int *signal_ptr UNUSED,
+ int *coredump_ptr UNUSED, int block UNUSED)
{
errno = ECHILD;
return -1;
@@ -95,7 +96,7 @@ unblock_remote_children (void)
/* Send signal SIG to child ID. Return 0 if successful, -1 if not. */
int
-remote_kill (int id, int sig)
+remote_kill (int id UNUSED, int sig UNUSED)
{
return -1;
}