From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17212 invoked by alias); 27 Apr 2012 02:08:22 -0000 Received: (qmail 16841 invoked by uid 22791); 27 Apr 2012 02:08:19 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-yx0-f169.google.com (HELO mail-yx0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Apr 2012 02:08:04 +0000 Received: by yenm8 with SMTP id m8so165342yen.0 for ; Thu, 26 Apr 2012 19:08:04 -0700 (PDT) Received: by 10.236.78.197 with SMTP id g45mr8995933yhe.15.1335492484294; Thu, 26 Apr 2012 19:08:04 -0700 (PDT) Received: from localhost (cpe-174-109-057-184.nc.res.rr.com. [174.109.57.184]) by mx.google.com with ESMTPS id o15sm3708263anj.1.2012.04.26.19.08.03 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Apr 2012 19:08:03 -0700 (PDT) From: Matt Turner To: Richard Henderson Cc: libc-ports@sourceware.org, Matt Turner Subject: [PATCH 2/4] alpha: Use const instead of __const. Date: Fri, 27 Apr 2012 02:08:00 -0000 Message-Id: <1335492474-16057-2-git-send-email-mattst88@gmail.com> In-Reply-To: <1335492474-16057-1-git-send-email-mattst88@gmail.com> References: <1335492474-16057-1-git-send-email-mattst88@gmail.com> X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00178.txt.bz2 --- ChangeLog.alpha | 6 ++++++ sysdeps/alpha/fpu/bits/fenv.h | 8 ++++---- sysdeps/unix/sysv/linux/alpha/oldglob.c | 8 ++++---- sysdeps/unix/sysv/linux/alpha/sys/acct.h | 4 ++-- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 086faba..096fe9a 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,11 @@ 2012-04-26 Matt Turner + * sysdeps/alpha/fpu/bits/fenv.h: Use const instead of __const. + * sysdeps/unix/sysv/linux/alpha/oldglob.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise. + +2012-04-26 Matt Turner + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define. 2012-03-27 Richard Henderson diff --git a/sysdeps/alpha/fpu/bits/fenv.h b/sysdeps/alpha/fpu/bits/fenv.h index bab54a7..2ddbaa1 100644 --- a/sysdeps/alpha/fpu/bits/fenv.h +++ b/sysdeps/alpha/fpu/bits/fenv.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997-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 @@ -106,15 +106,15 @@ typedef unsigned long int fenv_t; /* If the default argument is used we use this value. Note that due to architecture-specified page mappings, no user-space pointer will ever have its two high bits set. Co-opt one. */ -#define FE_DFL_ENV ((__const fenv_t *) 0x8800000000000000UL) +#define FE_DFL_ENV ((const fenv_t *) 0x8800000000000000UL) #ifdef __USE_GNU /* Floating-point environment where none of the exceptions are masked. */ -# define FE_NOMASK_ENV ((__const fenv_t *) 0x880000000000003eUL) +# define FE_NOMASK_ENV ((const fenv_t *) 0x880000000000003eUL) /* Floating-point environment with (processor-dependent) non-IEEE floating point. In this case, mapping denormals to zero. */ -# define FE_NONIEEE_ENV ((__const fenv_t *) 0x8800000000003000UL) +# define FE_NONIEEE_ENV ((const fenv_t *) 0x8800000000003000UL) #endif /* The system calls to talk to the kernel's FP code. */ diff --git a/sysdeps/unix/sysv/linux/alpha/oldglob.c b/sysdeps/unix/sysv/linux/alpha/oldglob.c index 1b9bbe0..11fd4a0 100644 --- a/sysdeps/unix/sysv/linux/alpha/oldglob.c +++ b/sysdeps/unix/sysv/linux/alpha/oldglob.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 2000, 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 1998-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 @@ -36,9 +36,9 @@ typedef struct are used instead of the normal file access functions. */ void (*gl_closedir) (void *); struct dirent *(*gl_readdir) (void *); - __ptr_t (*gl_opendir) (__const char *); - int (*gl_lstat) (__const char *, struct stat *); - int (*gl_stat) (__const char *, struct stat *); + __ptr_t (*gl_opendir) (const char *); + int (*gl_lstat) (const char *, struct stat *); + int (*gl_stat) (const char *, struct stat *); } old_glob_t; diff --git a/sysdeps/unix/sysv/linux/alpha/sys/acct.h b/sysdeps/unix/sysv/linux/alpha/sys/acct.h index c22f7ba..9645029 100644 --- a/sysdeps/unix/sysv/linux/alpha/sys/acct.h +++ b/sysdeps/unix/sysv/linux/alpha/sys/acct.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1996-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 @@ -58,7 +58,7 @@ enum /* Switch process accounting on and off. */ -extern int acct (__const char *__filename) __THROW; +extern int acct (const char *__filename) __THROW; __END_DECLS -- 1.7.3.4