From a784e502472fb3a1afa4d01a47c66b52d23e00f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 Jan 2012 23:57:22 -0500 Subject: Remove pre-ISO C support No more __const. --- sysdeps/unix/sysv/linux/i386/glob64.c | 4 ++-- sysdeps/unix/sysv/linux/i386/olddirent.h | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sysdeps/unix/sysv/linux/i386') diff --git a/sysdeps/unix/sysv/linux/i386/glob64.c b/sysdeps/unix/sysv/linux/i386/glob64.c index 18b7f21ae8..b4fcd1a73c 100644 --- a/sysdeps/unix/sysv/linux/i386/glob64.c +++ b/sysdeps/unix/sysv/linux/i386/glob64.c @@ -32,8 +32,8 @@ libc_hidden_ver (__glob64, glob64) #include -int __old_glob64 (__const char *__pattern, int __flags, - int (*__errfunc) (__const char *, int), +int __old_glob64 (const char *__pattern, int __flags, + int (*__errfunc) (const char *, int), glob64_t *__pglob); #undef dirent diff --git a/sysdeps/unix/sysv/linux/i386/olddirent.h b/sysdeps/unix/sysv/linux/i386/olddirent.h index 4f73197e53..c5032473ff 100644 --- a/sysdeps/unix/sysv/linux/i386/olddirent.h +++ b/sysdeps/unix/sysv/linux/i386/olddirent.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2009 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2009, 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 @@ -33,13 +33,13 @@ struct __old_dirent64 /* Now define the internal interfaces. */ extern struct __old_dirent64 *__old_readdir64 (DIR *__dirp); extern int __old_readdir64_r (DIR *__dirp, struct __old_dirent64 *__entry, - struct __old_dirent64 **__result); + struct __old_dirent64 **__result); extern __ssize_t __old_getdents64 (int __fd, char *__buf, size_t __nbytes) internal_function; -int __old_scandir64 (__const char * __dir, +int __old_scandir64 (const char * __dir, struct __old_dirent64 *** __namelist, - int (*__selector) (__const struct __old_dirent64 *), - int (*__cmp) (__const struct __old_dirent64 **, - __const struct __old_dirent64 **)); + int (*__selector) (const struct __old_dirent64 *), + int (*__cmp) (const struct __old_dirent64 **, + const struct __old_dirent64 **)); #endif -- cgit 1.4.1