Contributed by STMicroelectronics Signed-off-by: Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> --- src/w32/compat/posixfcn.c | 2 +- src/w32/w32os.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/w32/compat/posixfcn.c b/src/w32/compat/posixfcn.c index 1af66b79..72fe5f2e 100644 --- a/src/w32/compat/posixfcn.c +++ b/src/w32/compat/posixfcn.c @@ -141,7 +141,7 @@ isatty (int fd) } char * -ttyname (int fd) +ttyname (int fd UNUSED) { /* This "knows" that Make only asks about stdout and stderr. A more sophisticated implementation should test whether FD is open for diff --git a/src/w32/w32os.c b/src/w32/w32os.c index 015b685e..5594d818 100644 --- a/src/w32/w32os.c +++ b/src/w32/w32os.c @@ -338,11 +338,11 @@ jobserver_signal () { } -void jobserver_pre_child (int recursive) +void jobserver_pre_child (int recursive UNUSED) { } -void jobserver_post_child (int recursive) +void jobserver_post_child (int recursive UNUSED) { } @@ -354,7 +354,7 @@ jobserver_pre_acquire () /* Returns 1 if we got a token, or 0 if a child has completed. The Windows implementation doesn't support load detection. */ unsigned int -jobserver_acquire (int timeout) +jobserver_acquire (int timeout UNUSED) { HANDLE *handles; DWORD dwHandleCount; @@ -513,5 +513,5 @@ fd_noinherit(int fd) } void -fd_set_append (int fd) +fd_set_append (int fd UNUSED) {} -- 2.25.1