retire _CONST, _VOLATILE, _SIZET, _ARGS, _VOID

This commit is contained in:
Ben Gras
2012-03-25 21:58:20 +02:00
parent 7336a67dfe
commit db242ed39d
27 changed files with 110 additions and 131 deletions
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -9,7 +9,7 @@ __weak_alias(access, _access)
#endif
int access(name, mode)
_CONST char *name;
const char *name;
int mode;
{
message m;
+1 -1
View File
@@ -10,7 +10,7 @@ __weak_alias(fchdir, _fchdir)
#endif
int chdir(name)
_CONST char *name;
const char *name;
{
message m;
+1 -1
View File
@@ -9,7 +9,7 @@ __weak_alias(chroot, _chroot)
#endif
int chroot(name)
_CONST char *name;
const char *name;
{
message m;
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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