summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/arm/dl-syscalls.h2
-rw-r--r--ldso/ldso/arm/ld_syscalls.h2
-rw-r--r--ldso/ldso/i386/dl-syscalls.h2
-rw-r--r--ldso/ldso/i386/ld_syscalls.h2
-rw-r--r--ldso/ldso/mips/dl-syscalls.h2
-rw-r--r--ldso/ldso/mips/ld_syscalls.h2
-rw-r--r--ldso/ldso/sh/dl-syscalls.h2
-rw-r--r--ldso/ldso/sh/ld_syscalls.h2
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"