mirror of git://sourceware.org/git/glibc.git
alpha: Use const instead of __const.
This commit is contained in:
parent
b44167c02a
commit
24d6e175c2
|
|
@ -1,3 +1,9 @@
|
||||||
|
2012-04-26 Matt Turner <mattst88@gmail.com>
|
||||||
|
|
||||||
|
* 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 <mattst88@gmail.com>
|
2012-04-26 Matt Turner <mattst88@gmail.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define.
|
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define.
|
||||||
|
|
|
||||||
|
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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
|
/* If the default argument is used we use this value. Note that due to
|
||||||
architecture-specified page mappings, no user-space pointer will ever
|
architecture-specified page mappings, no user-space pointer will ever
|
||||||
have its two high bits set. Co-opt one. */
|
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
|
#ifdef __USE_GNU
|
||||||
/* Floating-point environment where none of the exceptions are masked. */
|
/* 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
|
/* Floating-point environment with (processor-dependent) non-IEEE floating
|
||||||
point. In this case, mapping denormals to zero. */
|
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
|
#endif
|
||||||
|
|
||||||
/* The system calls to talk to the kernel's FP code. */
|
/* The system calls to talk to the kernel's FP code. */
|
||||||
|
|
|
||||||
|
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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. */
|
are used instead of the normal file access functions. */
|
||||||
void (*gl_closedir) (void *);
|
void (*gl_closedir) (void *);
|
||||||
struct dirent *(*gl_readdir) (void *);
|
struct dirent *(*gl_readdir) (void *);
|
||||||
__ptr_t (*gl_opendir) (__const char *);
|
__ptr_t (*gl_opendir) (const char *);
|
||||||
int (*gl_lstat) (__const char *, struct stat *);
|
int (*gl_lstat) (const char *, struct stat *);
|
||||||
int (*gl_stat) (__const char *, struct stat *);
|
int (*gl_stat) (const char *, struct stat *);
|
||||||
} old_glob_t;
|
} old_glob_t;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -58,7 +58,7 @@ enum
|
||||||
|
|
||||||
|
|
||||||
/* Switch process accounting on and off. */
|
/* Switch process accounting on and off. */
|
||||||
extern int acct (__const char *__filename) __THROW;
|
extern int acct (const char *__filename) __THROW;
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue