ansification: remove _CONST
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
|
||||
struct passwd *
|
||||
_DEFUN (getpwnam, (name),
|
||||
_CONST char *name)
|
||||
const char *name)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return NULL;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user