retire _CONST, _VOLATILE, _SIZET, _ARGS, _VOID
This commit is contained in:
@@ -40,8 +40,8 @@ static int pids[OPEN_MAX];
|
||||
|
||||
FILE *
|
||||
popen(command, type)
|
||||
_CONST char *command;
|
||||
_CONST char *type;
|
||||
const char *command;
|
||||
const char *type;
|
||||
{
|
||||
int piped[2];
|
||||
int Xtype = *type == 'r' ? 0 : *type == 'w' ? 1 : 2;
|
||||
|
||||
@@ -9,7 +9,7 @@ __weak_alias(access, _access)
|
||||
#endif
|
||||
|
||||
int access(name, mode)
|
||||
_CONST char *name;
|
||||
const char *name;
|
||||
int mode;
|
||||
{
|
||||
message m;
|
||||
|
||||
@@ -10,7 +10,7 @@ __weak_alias(fchdir, _fchdir)
|
||||
#endif
|
||||
|
||||
int chdir(name)
|
||||
_CONST char *name;
|
||||
const char *name;
|
||||
{
|
||||
message m;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ __weak_alias(chroot, _chroot)
|
||||
#endif
|
||||
|
||||
int chroot(name)
|
||||
_CONST char *name;
|
||||
const char *name;
|
||||
{
|
||||
message m;
|
||||
|
||||
|
||||
@@ -164,13 +164,13 @@ int mountflags;
|
||||
}
|
||||
|
||||
int umount(name)
|
||||
_CONST char *name;
|
||||
const char *name;
|
||||
{
|
||||
return umount2(name, 0);
|
||||
}
|
||||
|
||||
int umount2(name, flags)
|
||||
_CONST char *name;
|
||||
const char *name;
|
||||
int flags;
|
||||
{
|
||||
message m;
|
||||
|
||||
@@ -13,7 +13,7 @@ __weak_alias(pathconf, _pathconf)
|
||||
#endif
|
||||
|
||||
long pathconf(path, name)
|
||||
_CONST char *path; /* name of file being interrogated */
|
||||
const char *path; /* name of file being interrogated */
|
||||
int name; /* property being inspected */
|
||||
{
|
||||
/* POSIX allows some of the values in <limits.h> to be increased at
|
||||
|
||||
Reference in New Issue
Block a user