aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/s390
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390')
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/chown.c7
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/lchown.c8
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c4
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c4
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c3
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c5
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c5
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c3
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list7
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/xstat.c4
10 files changed, 7 insertions, 43 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
index 4f9a0c01a7..1c7b7abc50 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -37,14 +37,9 @@
has therefore to route calls to chown to the old chown function.
*/
-extern int __syscall_chown (const char *__file,
- __kernel_uid_t __owner, __kernel_gid_t __group);
-
/* Running under Linux > 2.1.80. */
#ifdef __NR_chown32
-extern int __syscall_chown32 (const char *__file,
- __kernel_uid32_t owner, __kernel_gid32_t group);
# if __ASSUME_32BITUIDS == 0
/* This variable is shared with all files that need to check for 32bit
uids. */
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c b/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c
index afca3e5214..ccdb67b15c 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -26,13 +26,7 @@
#include <linux/posix_types.h>
#include "kernel-features.h"
-extern int __syscall_lchown (const char *__unbounded __file,
- __kernel_uid_t __owner, __kernel_gid_t __group);
-
# ifdef __NR_lchown32
-extern int __syscall_lchown32 (const char *__unbounded __file,
- __kernel_uid32_t __owner,
- __kernel_gid32_t __group);
# if __ASSUME_32BITUIDS == 0
/* This variable is shared with all files that need to check for 32bit
uids. */
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c b/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c
index 95ed437943..3a7aa1ca6f 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c
@@ -1,5 +1,5 @@
/* fxstat using old-style Unix fstat system call. 64 bit S/390 version.
- Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,8 +28,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-extern int __syscall_fstat (int, struct stat *);
-
/* Get information about the file FD in BUF. */
int
__fxstat (int vers, int fd, struct stat *buf)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c b/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c
index 3bcc4bede0..71d6441619 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c
@@ -1,5 +1,5 @@
/* lxstat using old-style Unix fstat system call. 64 bit S/390 version.
- Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,8 +28,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-extern int __syscall_lstat (const char *, struct stat *);
-
/* Get information about the file FD in BUF. */
int
__lxstat (int vers, const char *name, struct stat *buf)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c b/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
index cba9f677e0..480ebd424c 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
@@ -26,9 +26,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-extern int __syscall_rt_sigaction (int, const struct sigaction *,
- struct sigaction *, size_t);
-
/* The variable is shared between all wrappers around signal handling
functions which have RT equivalents. This is the definition. */
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c b/sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c
index 44483112c4..8086874360 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -26,9 +26,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-extern int __syscall_rt_sigpending (sigset_t *, size_t);
-
-
/* Change the set of blocked signals to SET,
wait until a signal arrives, and restore the set of blocked signals. */
int
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c b/sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
index 4fd873acf3..a6dd9159ae 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -26,9 +26,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-extern int __syscall_rt_sigprocmask (int, const sigset_t *,
- sigset_t *, size_t);
-
/* Get and/or change the set of blocked signals. */
int
__sigprocmask (how, set, oset)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c b/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
index f5e8de3160..452f8354d0 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
@@ -23,9 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-extern int __syscall_rt_sigsuspend (const sigset_t *, size_t);
-
-
/* Change the set of blocked signals to SET,
wait until a signal arrives, and restore the set of blocked signals. */
int
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list b/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
index e114994c0d..4c97417832 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
@@ -45,10 +45,3 @@ setsockopt - setsockopt i:iiibn __setsockopt setsockopt
shutdown - shutdown i:ii __shutdown shutdown
socket - socket i:iii __socket socket
socketpair - socketpair i:iiif __socketpair socketpair
-
-rt_sigaction EXTRA rt_sigaction i:ippi __syscall_rt_sigaction rt_sigaction
-rt_sigpending EXTRA rt_sigpending i:pi __syscall_rt_sigpending rt_sigpending
-rt_sigprocmask EXTRA rt_sigprocmask i:ippi __syscall_rt_sigprocmask rt_sigprocmask
-rt_sigqueueinfo EXTRA rt_sigqueueinfo i:iip __syscall_rt_sigqueueinfo rt_sigqueueinfo
-rt_sigsuspend EXTRA rt_sigsuspend i:pi __syscall_rt_sigsuspend rt_sigsuspend
-rt_sigtimedwait EXTRA rt_sigtimedwait i:pppi __syscall_rt_sigtimedwait rt_sigtimedwait
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c b/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c
index 9283dd8b51..50b459bb5f 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/xstat.c
@@ -1,5 +1,5 @@
/* xstat using old-style Unix stat system call. 64 bit S/390 version.
- Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,8 +28,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-extern int __syscall_stat (const char *, struct stat *);
-
/* Get information about the file NAME in BUF. */
int
__xstat (int vers, const char *name, struct stat *buf)