ansification: remove _CONST

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz
2017-12-03 20:25:16 -06:00
parent 6783860a2e
commit 0bda30e1ff
322 changed files with 1145 additions and 1147 deletions

View File

@ -4,7 +4,7 @@
struct passwd *
_DEFUN (getpwnam, (name),
_CONST char *name)
const char *name)
{
errno = ENOSYS;
return NULL;

View File

@ -9,7 +9,7 @@ ssize_t
_DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
struct _reent *rptr,
int fd,
_CONST _PTR buf,
const _PTR buf,
size_t n,
off_t off)
{
@ -35,7 +35,7 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (__libc_pwrite, (fd, buf, n, off),
int fd,
_CONST _PTR buf,
const _PTR buf,
size_t n,
off_t off)
{

View File

@ -15,7 +15,7 @@
extern int *__errno _PARAMS ((void));
#endif
extern __IMPORT _CONST char * _CONST _sys_errlist[];
extern __IMPORT const char * const _sys_errlist[];
extern __IMPORT int _sys_nerr;
#define __errno_r(ptr) ((ptr)->_errno)

View File

@ -34,7 +34,7 @@ extern int *__errno _PARAMS ((void));
#endif
/* Don't use these variables directly. Use strerror instead. */
extern __IMPORT _CONST char * _CONST _sys_errlist[];
extern __IMPORT const char * const _sys_errlist[];
extern __IMPORT int _sys_nerr;
#define __errno_r(ptr) ((ptr)->_errno)