summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-02-01 13:33:53 +0000
committerkib <kib@FreeBSD.org>2012-02-01 13:33:53 +0000
commitc5ba0185aafb67b6994767023cdb5c5a1a0960f6 (patch)
treebdab0f4c2ad8cd4a1ba76a4273f35252213afdf0 /lib/libc
parentc5de302211375e16297fb98fd4e3ae86055c959e (diff)
downloadFreeBSD-src-c5ba0185aafb67b6994767023cdb5c5a1a0960f6.zip
FreeBSD-src-c5ba0185aafb67b6994767023cdb5c5a1a0960f6.tar.gz
Make the sys/ucontext.h self-contained by changing the return type
of __getcontextx_size(3) from size_t to int. PR: ports/164654 MFC after: 1 month
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/amd64/gen/getcontextx.c2
-rw-r--r--lib/libc/arm/gen/getcontextx.c2
-rw-r--r--lib/libc/i386/gen/getcontextx.c2
-rw-r--r--lib/libc/ia64/gen/getcontextx.c2
-rw-r--r--lib/libc/mips/gen/getcontextx.c2
-rw-r--r--lib/libc/powerpc/gen/getcontextx.c2
-rw-r--r--lib/libc/powerpc64/gen/getcontextx.c2
-rw-r--r--lib/libc/sparc64/gen/getcontextx.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/amd64/gen/getcontextx.c b/lib/libc/amd64/gen/getcontextx.c
index 24361bc..7412560 100644
--- a/lib/libc/amd64/gen/getcontextx.c
+++ b/lib/libc/amd64/gen/getcontextx.c
@@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
static int xstate_sz = -1;
-size_t
+int
__getcontextx_size(void)
{
u_int p[4];
diff --git a/lib/libc/arm/gen/getcontextx.c b/lib/libc/arm/gen/getcontextx.c
index b701c18..307978a 100644
--- a/lib/libc/arm/gen/getcontextx.c
+++ b/lib/libc/arm/gen/getcontextx.c
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>
-size_t
+int
__getcontextx_size(void)
{
diff --git a/lib/libc/i386/gen/getcontextx.c b/lib/libc/i386/gen/getcontextx.c
index de0a1a3..5908ce7 100644
--- a/lib/libc/i386/gen/getcontextx.c
+++ b/lib/libc/i386/gen/getcontextx.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
static int xstate_sz = -1;
-size_t
+int
__getcontextx_size(void)
{
u_int p[4];
diff --git a/lib/libc/ia64/gen/getcontextx.c b/lib/libc/ia64/gen/getcontextx.c
index b701c18..307978a 100644
--- a/lib/libc/ia64/gen/getcontextx.c
+++ b/lib/libc/ia64/gen/getcontextx.c
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>
-size_t
+int
__getcontextx_size(void)
{
diff --git a/lib/libc/mips/gen/getcontextx.c b/lib/libc/mips/gen/getcontextx.c
index b701c18..307978a 100644
--- a/lib/libc/mips/gen/getcontextx.c
+++ b/lib/libc/mips/gen/getcontextx.c
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>
-size_t
+int
__getcontextx_size(void)
{
diff --git a/lib/libc/powerpc/gen/getcontextx.c b/lib/libc/powerpc/gen/getcontextx.c
index b701c18..307978a 100644
--- a/lib/libc/powerpc/gen/getcontextx.c
+++ b/lib/libc/powerpc/gen/getcontextx.c
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>
-size_t
+int
__getcontextx_size(void)
{
diff --git a/lib/libc/powerpc64/gen/getcontextx.c b/lib/libc/powerpc64/gen/getcontextx.c
index b701c18..307978a 100644
--- a/lib/libc/powerpc64/gen/getcontextx.c
+++ b/lib/libc/powerpc64/gen/getcontextx.c
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>
-size_t
+int
__getcontextx_size(void)
{
diff --git a/lib/libc/sparc64/gen/getcontextx.c b/lib/libc/sparc64/gen/getcontextx.c
index b701c18..307978a 100644
--- a/lib/libc/sparc64/gen/getcontextx.c
+++ b/lib/libc/sparc64/gen/getcontextx.c
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>
-size_t
+int
__getcontextx_size(void)
{
OpenPOWER on IntegriCloud