1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +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,4 +1,4 @@
/* Copyright (C) 1995,1996,1997,1999,2002 Free Software Foundation, Inc.
/* Copyright (C) 1995,1996,1997,1999,2002,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
@ -52,7 +52,7 @@ typedef __key_t key_t;
__BEGIN_DECLS
/* Generates key for System V style IPC. */
extern key_t ftok (__const char *__pathname, int __proj_id) __THROW;
extern key_t ftok (const char *__pathname, int __proj_id) __THROW;
__END_DECLS

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1995-1997,1999,2000,2003,2006,2007
/* Copyright (C) 1995-1997,1999,2000,2003,2006,2007,2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -77,7 +77,7 @@ extern ssize_t msgrcv (int __msqid, void *__msgp, size_t __msgsz,
This function is a cancellation point and therefore not marked with
__THROW. */
extern int msgsnd (int __msqid, __const void *__msgp, size_t __msgsz,
extern int msgsnd (int __msqid, const void *__msgp, size_t __msgsz,
int __msgflg);
__END_DECLS

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1995-1999, 2000, 2003 Free Software Foundation, Inc.
/* Copyright (C) 1995-1999, 2000, 2003, 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
@ -61,7 +61,7 @@ extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW;
#ifdef __USE_GNU
/* Operate on semaphore with timeout. */
extern int semtimedop (int __semid, struct sembuf *__sops, size_t __nsops,
__const struct timespec *__timeout) __THROW;
const struct timespec *__timeout) __THROW;
#endif
__END_DECLS

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1995-1999, 2000, 2002 Free Software Foundation, Inc.
/* Copyright (C) 1995-1999, 2000, 2002, 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
@ -54,11 +54,11 @@ extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW;
extern int shmget (key_t __key, size_t __size, int __shmflg) __THROW;
/* Attach shared memory segment. */
extern void *shmat (int __shmid, __const void *__shmaddr, int __shmflg)
extern void *shmat (int __shmid, const void *__shmaddr, int __shmflg)
__THROW;
/* Detach shared memory segment. */
extern int shmdt (__const void *__shmaddr) __THROW;
extern int shmdt (const void *__shmaddr) __THROW;
__END_DECLS