diff options
author | kib <kib@FreeBSD.org> | 2012-02-01 13:33:53 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-02-01 13:33:53 +0000 |
commit | c5ba0185aafb67b6994767023cdb5c5a1a0960f6 (patch) | |
tree | bdab0f4c2ad8cd4a1ba76a4273f35252213afdf0 /lib/libc | |
parent | c5de302211375e16297fb98fd4e3ae86055c959e (diff) | |
download | FreeBSD-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.c | 2 | ||||
-rw-r--r-- | lib/libc/arm/gen/getcontextx.c | 2 | ||||
-rw-r--r-- | lib/libc/i386/gen/getcontextx.c | 2 | ||||
-rw-r--r-- | lib/libc/ia64/gen/getcontextx.c | 2 | ||||
-rw-r--r-- | lib/libc/mips/gen/getcontextx.c | 2 | ||||
-rw-r--r-- | lib/libc/powerpc/gen/getcontextx.c | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/gen/getcontextx.c | 2 | ||||
-rw-r--r-- | lib/libc/sparc64/gen/getcontextx.c | 2 |
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) { |