aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-03 03:21:27 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-03 03:21:27 +0000
commit49d7842ab59c52d91a71ad1c32502f9eddb17eb6 (patch)
treea975012bed1d861ba86b184afde65b7e5c064472 /sysdeps/unix
parent679ee4e361a3a6a65034d61277c133bdca6df120 (diff)
downloadglibc-49d7842ab59c52d91a71ad1c32502f9eddb17eb6.tar
glibc-49d7842ab59c52d91a71ad1c32502f9eddb17eb6.tar.gz
glibc-49d7842ab59c52d91a71ad1c32502f9eddb17eb6.tar.bz2
glibc-49d7842ab59c52d91a71ad1c32502f9eddb17eb6.zip
Remove unused __syscall_* prototypes.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/gethostname.c5
-rw-r--r--sysdeps/unix/sysv/linux/alpha/ipc_priv.h10
-rw-r--r--sysdeps/unix/sysv/linux/alpha/msgctl.c4
-rw-r--r--sysdeps/unix/sysv/linux/alpha/semctl.c4
-rw-r--r--sysdeps/unix/sysv/linux/alpha/shmctl.c4
-rw-r--r--sysdeps/unix/sysv/linux/arm/sigaction.c5
-rw-r--r--sysdeps/unix/sysv/linux/m68k/chown.c8
-rw-r--r--sysdeps/unix/sysv/linux/mips/ftruncate64.c8
-rw-r--r--sysdeps/unix/sysv/linux/mips/pread.c10
-rw-r--r--sysdeps/unix/sysv/linux/mips/pread64.c13
-rw-r--r--sysdeps/unix/sysv/linux/mips/ptrace.c3
-rw-r--r--sysdeps/unix/sysv/linux/mips/pwrite.c9
-rw-r--r--sysdeps/unix/sysv/linux/mips/pwrite64.c9
-rw-r--r--sysdeps/unix/sysv/linux/mips/sigaction.c4
-rw-r--r--sysdeps/unix/sysv/linux/mips/truncate64.c8
-rw-r--r--sysdeps/unix/sysv/linux/mips/ustat.c4
-rw-r--r--sysdeps/unix/sysv/linux/mips/xmknod.c5
17 files changed, 14 insertions, 99 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/gethostname.c b/sysdeps/unix/sysv/linux/alpha/gethostname.c
index 3a48afccd3..4e15ee43ed 100644
--- a/sysdeps/unix/sysv/linux/alpha/gethostname.c
+++ b/sysdeps/unix/sysv/linux/alpha/gethostname.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.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001
@@ -25,9 +25,6 @@
#include <sys/syscall.h>
#include <bp-checks.h>
-extern int __syscall_gethostname (char *name, size_t len);
-
-
int
__gethostname (char *name, size_t len)
{
diff --git a/sysdeps/unix/sysv/linux/alpha/ipc_priv.h b/sysdeps/unix/sysv/linux/alpha/ipc_priv.h
index f0b47d204b..0328dc08e2 100644
--- a/sysdeps/unix/sysv/linux/alpha/ipc_priv.h
+++ b/sysdeps/unix/sysv/linux/alpha/ipc_priv.h
@@ -32,15 +32,7 @@ struct __old_ipc_perm
};
-__BEGIN_DECLS
-
-/* The actual system call: all functions are multiplexed by this. */
-extern int __syscall_ipc (int __call, int __first, int __second,
- int __third, void *__ptr);
-
-__END_DECLS
-
-/* The codes for the functions to use the multiplexer `__syscall_ipc'. */
+/* The codes for the functions to use the ipc syscall multiplexer. */
#define IPCOP_semop 1
#define IPCOP_semget 2
#define IPCOP_semctl 3
diff --git a/sysdeps/unix/sysv/linux/alpha/msgctl.c b/sysdeps/unix/sysv/linux/alpha/msgctl.c
index d543fe3b9b..1b75af2b80 100644
--- a/sysdeps/unix/sysv/linux/alpha/msgctl.c
+++ b/sysdeps/unix/sysv/linux/alpha/msgctl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
@@ -45,8 +45,6 @@ struct __old_msqid_ds
__ipc_pid_t msg_lrpid; /* pid of last msgrcv() */
};
-extern int __syscall_msgctl (int, int, void *);
-
/* Allows to control internal state and destruction of message queue
objects. */
int __new_msgctl (int, int, struct msqid_ds *);
diff --git a/sysdeps/unix/sysv/linux/alpha/semctl.c b/sysdeps/unix/sysv/linux/alpha/semctl.c
index 6f164b4942..224baf399b 100644
--- a/sysdeps/unix/sysv/linux/alpha/semctl.c
+++ b/sysdeps/unix/sysv/linux/alpha/semctl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
@@ -52,8 +52,6 @@ union semun
#include <bp-checks.h>
#include <bp-semctl.h> /* definition of CHECK_SEMCTL needs union semum */
-extern int __syscall_semctl (int, int, int, void *);
-
/* Return identifier for array of NSEMS semaphores associated with
KEY. */
int __new_semctl (int semid, int semnum, int cmd, ...);
diff --git a/sysdeps/unix/sysv/linux/alpha/shmctl.c b/sysdeps/unix/sysv/linux/alpha/shmctl.c
index 0a6cdf170c..7dec3a737c 100644
--- a/sysdeps/unix/sysv/linux/alpha/shmctl.c
+++ b/sysdeps/unix/sysv/linux/alpha/shmctl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
@@ -53,8 +53,6 @@ struct __old_shminfo
int shmall;
};
-extern int __syscall_shmctl (int, int, void *);
-
/* Provide operations to control over shared memory segments. */
int __new_shmctl (int, int, struct shmid_ds *);
diff --git a/sysdeps/unix/sysv/linux/arm/sigaction.c b/sysdeps/unix/sysv/linux/arm/sigaction.c
index 82e22b679a..81b29adb2b 100644
--- a/sysdeps/unix/sysv/linux/arm/sigaction.c
+++ b/sysdeps/unix/sysv/linux/arm/sigaction.c
@@ -29,11 +29,6 @@
translate it here. */
#include <kernel_sigaction.h>
-extern int __syscall_sigaction (int, const struct old_kernel_sigaction *__unbounded,
- struct old_kernel_sigaction *__unbounded);
-extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
- struct kernel_sigaction *__unbounded, size_t);
-
/* The variable is shared between all wrappers around signal handling
functions which have RT equivalents. */
int __libc_missing_rt_sigs;
diff --git a/sysdeps/unix/sysv/linux/m68k/chown.c b/sysdeps/unix/sysv/linux/m68k/chown.c
index ad0386d1d9..735fa5780a 100644
--- a/sysdeps/unix/sysv/linux/m68k/chown.c
+++ b/sysdeps/unix/sysv/linux/m68k/chown.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 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
@@ -26,13 +26,7 @@
#include <linux/posix_types.h>
#include "kernel-features.h"
-extern int __syscall_chown (const char *__unbounded __file,
- __kernel_uid_t __owner, __kernel_gid_t __group);
-
#ifdef __NR_chown32
-extern int __syscall_chown32 (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/mips/ftruncate64.c b/sysdeps/unix/sysv/linux/mips/ftruncate64.c
index fc88539b31..cdb2d56840 100644
--- a/sysdeps/unix/sysv/linux/mips/ftruncate64.c
+++ b/sysdeps/unix/sysv/linux/mips/ftruncate64.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 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
@@ -32,11 +33,6 @@
extern int __have_no_truncate64;
#endif
-/* The order of hight, low depends on endianness. */
-extern int __syscall_ftruncate64 (int fd, int dummy, int high_length,
- int low_length);
-
-
/* Truncate the file FD refers to to LENGTH bytes. */
int
__ftruncate64 (int fd, off64_t length)
diff --git a/sysdeps/unix/sysv/linux/mips/pread.c b/sysdeps/unix/sysv/linux/mips/pread.c
index 28fdca6062..86d47e9b7a 100644
--- a/sysdeps/unix/sysv/linux/mips/pread.c
+++ b/sysdeps/unix/sysv/linux/mips/pread.c
@@ -41,16 +41,6 @@
static ssize_t __emulate_pread (int fd, void *buf, size_t count,
off_t offset) internal_function;
# endif
-extern ssize_t __syscall_pread (int fd, void *__unbounded buf, size_t count,
- int dummy,
-#if defined _ABI64 && _MIPS_SIM == _ABI64
- off_t offset
-#else
- off_t offset_hi, off_t offset_lo
-#endif
- );
-
-
ssize_t
__libc_pread (fd, buf, count, offset)
diff --git a/sysdeps/unix/sysv/linux/mips/pread64.c b/sysdeps/unix/sysv/linux/mips/pread64.c
index 7dcd008ff7..9a20987b92 100644
--- a/sysdeps/unix/sysv/linux/mips/pread64.c
+++ b/sysdeps/unix/sysv/linux/mips/pread64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -41,17 +41,6 @@ static ssize_t __emulate_pread64 (int fd, void *buf, size_t count,
off64_t offset) internal_function;
# endif
-extern ssize_t __syscall_pread (int fd, void *__unbounded buf, size_t count,
- int dummy,
-#if defined _ABI64 && _MIPS_SIM == _ABI64
- off_t offset
-#else
- off_t offset_hi, off_t offset_lo
-#endif
- );
-
-
-
ssize_t
__libc_pread64 (fd, buf, count, offset)
int fd;
diff --git a/sysdeps/unix/sysv/linux/mips/ptrace.c b/sysdeps/unix/sysv/linux/mips/ptrace.c
index b67fe83071..78c662a9db 100644
--- a/sysdeps/unix/sysv/linux/mips/ptrace.c
+++ b/sysdeps/unix/sysv/linux/mips/ptrace.c
@@ -33,9 +33,6 @@ __extension__ typedef long long int reg_type;
typedef long int reg_type;
#endif
-extern reg_type __syscall_ptrace (int, pid_t, void *__unbounded,
- reg_type __unbounded);
-
reg_type
ptrace (enum __ptrace_request request, ...)
{
diff --git a/sysdeps/unix/sysv/linux/mips/pwrite.c b/sysdeps/unix/sysv/linux/mips/pwrite.c
index fa3de156c4..6fb74534cc 100644
--- a/sysdeps/unix/sysv/linux/mips/pwrite.c
+++ b/sysdeps/unix/sysv/linux/mips/pwrite.c
@@ -37,15 +37,6 @@
#if defined __NR_pwrite || __ASSUME_PWRITE_SYSCALL > 0
-extern ssize_t __syscall_pwrite (int fd, const void *__unbounded buf, size_t count,
- int dummy,
-#if defined _ABI64 && _MIPS_SIM == _ABI64
- off_t offset
-#else
- off_t offset_hi, off_t offset_lo
-#endif
- );
-
# if __ASSUME_PWRITE_SYSCALL == 0
static ssize_t __emulate_pwrite (int fd, const void *buf, size_t count,
off_t offset) internal_function;
diff --git a/sysdeps/unix/sysv/linux/mips/pwrite64.c b/sysdeps/unix/sysv/linux/mips/pwrite64.c
index 5b481b256c..3ac4233fa0 100644
--- a/sysdeps/unix/sysv/linux/mips/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/mips/pwrite64.c
@@ -36,15 +36,6 @@
#if defined __NR_pwrite || __ASSUME_PWRITE_SYSCALL > 0
-extern ssize_t __syscall_pwrite (int fd, const void *__unbounded buf, size_t count,
- int dummy,
-#if defined _ABI64 && _MIPS_SIM == _ABI64
- off_t offset
-#else
- off_t offset_hi, off_t offset_lo
-#endif
- );
-
# if __ASSUME_PWRITE_SYSCALL == 0
static ssize_t __emulate_pwrite64 (int fd, const void *buf, size_t count,
off64_t offset) internal_function;
diff --git a/sysdeps/unix/sysv/linux/mips/sigaction.c b/sysdeps/unix/sysv/linux/mips/sigaction.c
index 2a99bac8fe..bc7db2b555 100644
--- a/sysdeps/unix/sysv/linux/mips/sigaction.c
+++ b/sysdeps/unix/sysv/linux/mips/sigaction.c
@@ -35,11 +35,7 @@
functions which have RT equivalents. This is the definition. */
int __libc_missing_rt_sigs;
-extern int __syscall_sigaction (int, const struct old_kernel_sigaction *__unbounded,
- struct old_kernel_sigaction *__unbounded);
#endif
-extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
- struct kernel_sigaction *__unbounded, size_t);
#if _MIPS_SIM != _MIPS_SIM_ABI32
diff --git a/sysdeps/unix/sysv/linux/mips/truncate64.c b/sysdeps/unix/sysv/linux/mips/truncate64.c
index 3bb73ce96d..e955f18ea3 100644
--- a/sysdeps/unix/sysv/linux/mips/truncate64.c
+++ b/sysdeps/unix/sysv/linux/mips/truncate64.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 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
@@ -33,11 +34,6 @@
int __have_no_truncate64;
#endif
-/* The order of hight, low depends on endianness. */
-extern int __syscall_truncate64 (const char *__unbounded path, int dummy,
- int high_length, int low_length);
-
-
/* Truncate the file FD refers to to LENGTH bytes. */
int
truncate64 (const char *path, off64_t length)
diff --git a/sysdeps/unix/sysv/linux/mips/ustat.c b/sysdeps/unix/sysv/linux/mips/ustat.c
index 8f5002ce92..a309f7104c 100644
--- a/sysdeps/unix/sysv/linux/mips/ustat.c
+++ b/sysdeps/unix/sysv/linux/mips/ustat.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -25,8 +25,6 @@
#include <sys/syscall.h>
#include <bp-checks.h>
-extern int __syscall_ustat (unsigned long dev, struct ustat *__unbounded ubuf);
-
int
ustat (dev_t dev, struct ustat *ubuf)
{
diff --git a/sysdeps/unix/sysv/linux/mips/xmknod.c b/sysdeps/unix/sysv/linux/mips/xmknod.c
index 217c9c2111..2d09752405 100644
--- a/sysdeps/unix/sysv/linux/mips/xmknod.c
+++ b/sysdeps/unix/sysv/linux/mips/xmknod.c
@@ -1,5 +1,6 @@
/* xmknod call using old-style Unix mknod system call.
- Copyright (C) 1991,93,95,96,97,98,00,2002 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1993, 1995, 1996, 1997, 1998, 2000, 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
@@ -26,8 +27,6 @@
#include <sys/syscall.h>
#include <bp-checks.h>
-extern int __syscall_mknod (const char *__unbounded, unsigned long, unsigned int);
-
/* Create a device file named PATH, with permission and special bits MODE
and device number DEV (which can be constructed from major and minor
device numbers with the `makedev' macro above). */