1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Remove pre-ISO C support

No more __const.
This commit is contained in:
Ulrich Drepper
2012-01-07 23:57:22 -05:00
parent 33808bf116
commit a784e50247
209 changed files with 2420 additions and 2244 deletions

View File

@ -1,5 +1,5 @@
/* System-specific socket constants and types. Linux/SPARC version.
Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009, 2011
Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009, 2011, 2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -430,7 +430,7 @@ __BEGIN_DECLS
__THROW. */
extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
unsigned int __vlen, int __flags,
__const struct timespec *__tmo);
const struct timespec *__tmo);
__END_DECLS

View File

@ -1,7 +1,7 @@
/* POSIX.1 sigaction call for Linux/SPARC.
Copyright (C) 1997-2000,2002,2003,2005 Free Software Foundation, Inc.
Copyright (C) 1997-2000,2002,2003,2005,2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza (miguel@nuclecu.unam.mx), 1997.
Contributed by Miguel de Icaza <miguel@nuclecu.unam.mx>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@ -33,8 +33,7 @@ static void __sigreturn_stub (void);
int __libc_missing_rt_sigs;
int
__libc_sigaction (int sig, __const struct sigaction *act,
struct sigaction *oact)
__libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
struct old_kernel_sigaction k_sigact, k_osigact;
int ret;

View File

@ -1,8 +1,8 @@
/* POSIX.1 sigaction call for Linux/SPARC64.
Copyright (C) 1997-2000,2002,2003,2005 Free Software Foundation, Inc.
Copyright (C) 1997-2000,2002,2003,2005,2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza (miguel@nuclecu.unam.mx) and
Jakub Jelinek (jj@ultra.linux.cz).
Contributed by Miguel de Icaza <miguel@nuclecu.unam.mx> and
Jakub Jelinek <jj@ultra.linux.cz>.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@ -32,8 +32,7 @@
static void __rt_sigreturn_stub (void);
int
__libc_sigaction (int sig, __const struct sigaction *act,
struct sigaction *oact)
__libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
int ret;
struct kernel_sigaction kact, koact;

View File

@ -137,7 +137,7 @@ extern int epoll_wait (int __epfd, struct epoll_event *__events,
__THROW. */
extern int epoll_pwait (int __epfd, struct epoll_event *__events,
int __maxevents, int __timeout,
__const __sigset_t *__ss);
const __sigset_t *__ss);
__END_DECLS

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2008 Free Software Foundation, Inc.
/* Copyright (C) 2008, 2012 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
@ -49,7 +49,7 @@ extern int timerfd_create (clockid_t __clock_id, int __flags) __THROW;
FLAGS has the TFD_TIMER_ABSTIME flag set the timeout value is
absolute. Optionally return the old expiration time in OTMR. */
extern int timerfd_settime (int __ufd, int __flags,
__const struct itimerspec *__utmr,
const struct itimerspec *__utmr,
struct itimerspec *__otmr) __THROW;
/* Return the next expiration time of UFD. */