diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-09 12:20:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-09 12:20:22 +0000 |
commit | fa211c565c10f44f85e98046cbc1c9391d53ddcb (patch) | |
tree | 6fa90705ae39818c33a0e22f8bf40605685bbe9e | |
parent | b5d62c15c360e17035bc57da77d5271a8784cb7d (diff) |
Patch from Stefan Allius, avoid compiler warnings (unused variable)
-rw-r--r-- | ldso/ldso/arm/dl-syscalls.h | 2 | ||||
-rw-r--r-- | ldso/ldso/arm/ld_syscalls.h | 2 | ||||
-rw-r--r-- | ldso/ldso/i386/dl-syscalls.h | 2 | ||||
-rw-r--r-- | ldso/ldso/i386/ld_syscalls.h | 2 | ||||
-rw-r--r-- | ldso/ldso/mips/dl-syscalls.h | 2 | ||||
-rw-r--r-- | ldso/ldso/mips/ld_syscalls.h | 2 | ||||
-rw-r--r-- | ldso/ldso/sh/dl-syscalls.h | 2 | ||||
-rw-r--r-- | ldso/ldso/sh/ld_syscalls.h | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/ldso/ldso/arm/dl-syscalls.h b/ldso/ldso/arm/dl-syscalls.h index df14f34fb..c020832bb 100644 --- a/ldso/ldso/arm/dl-syscalls.h +++ b/ldso/ldso/arm/dl-syscalls.h @@ -2,6 +2,6 @@ * won't set errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" diff --git a/ldso/ldso/arm/ld_syscalls.h b/ldso/ldso/arm/ld_syscalls.h index df14f34fb..c020832bb 100644 --- a/ldso/ldso/arm/ld_syscalls.h +++ b/ldso/ldso/arm/ld_syscalls.h @@ -2,6 +2,6 @@ * won't set errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" diff --git a/ldso/ldso/i386/dl-syscalls.h b/ldso/ldso/i386/dl-syscalls.h index df14f34fb..c020832bb 100644 --- a/ldso/ldso/i386/dl-syscalls.h +++ b/ldso/ldso/i386/dl-syscalls.h @@ -2,6 +2,6 @@ * won't set errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" diff --git a/ldso/ldso/i386/ld_syscalls.h b/ldso/ldso/i386/ld_syscalls.h index df14f34fb..c020832bb 100644 --- a/ldso/ldso/i386/ld_syscalls.h +++ b/ldso/ldso/i386/ld_syscalls.h @@ -2,6 +2,6 @@ * won't set errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" diff --git a/ldso/ldso/mips/dl-syscalls.h b/ldso/ldso/mips/dl-syscalls.h index 793dc9110..e4a1ff9c4 100644 --- a/ldso/ldso/mips/dl-syscalls.h +++ b/ldso/ldso/mips/dl-syscalls.h @@ -2,6 +2,6 @@ * setting errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" diff --git a/ldso/ldso/mips/ld_syscalls.h b/ldso/ldso/mips/ld_syscalls.h index 793dc9110..e4a1ff9c4 100644 --- a/ldso/ldso/mips/ld_syscalls.h +++ b/ldso/ldso/mips/ld_syscalls.h @@ -2,6 +2,6 @@ * setting errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" diff --git a/ldso/ldso/sh/dl-syscalls.h b/ldso/ldso/sh/dl-syscalls.h index 793dc9110..e4a1ff9c4 100644 --- a/ldso/ldso/sh/dl-syscalls.h +++ b/ldso/ldso/sh/dl-syscalls.h @@ -2,6 +2,6 @@ * setting errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" diff --git a/ldso/ldso/sh/ld_syscalls.h b/ldso/ldso/sh/ld_syscalls.h index 793dc9110..e4a1ff9c4 100644 --- a/ldso/ldso/sh/ld_syscalls.h +++ b/ldso/ldso/sh/ld_syscalls.h @@ -2,6 +2,6 @@ * setting errno, which is important since we make system calls * before the errno symbol is dynamicly linked. */ -#define __set_errno(X) +#define __set_errno(X) {(void)(X);} #include "sys/syscall.h" |