regen for 'const poisoning for strings, and minor cleanup'

This commit is contained in:
cgd 1999-04-23 06:20:33 +00:00
parent c95f8f86c1
commit cc6809bffa
4 changed files with 45 additions and 45 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscall.h,v 1.19 1999/02/09 20:36:17 christos Exp $ */ /* $NetBSD: osf1_syscall.h,v 1.20 1999/04/23 06:20:33 cgd Exp $ */
/* /*
* System call numbers. * System call numbers.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp * created from NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp
*/ */
/* syscall: "syscall" ret: "int" args: */ /* syscall: "syscall" ret: "int" args: */
@ -19,7 +19,7 @@
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */ /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define OSF1_SYS_read 3 #define OSF1_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */ /* syscall: "write" ret: "int" args: "int" "const char *" "u_int" */
#define OSF1_SYS_write 4 #define OSF1_SYS_write 4
/* syscall: "close" ret: "int" args: "int" */ /* syscall: "close" ret: "int" args: "int" */
@ -28,25 +28,25 @@
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */ /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
#define OSF1_SYS_wait4 7 #define OSF1_SYS_wait4 7
/* syscall: "link" ret: "int" args: "char *" "char *" */ /* syscall: "link" ret: "int" args: "const char *" "const char *" */
#define OSF1_SYS_link 9 #define OSF1_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */ /* syscall: "unlink" ret: "int" args: "const char *" */
#define OSF1_SYS_unlink 10 #define OSF1_SYS_unlink 10
/* syscall: "chdir" ret: "int" args: "char *" */ /* syscall: "chdir" ret: "int" args: "const char *" */
#define OSF1_SYS_chdir 12 #define OSF1_SYS_chdir 12
/* syscall: "fchdir" ret: "int" args: "int" */ /* syscall: "fchdir" ret: "int" args: "int" */
#define OSF1_SYS_fchdir 13 #define OSF1_SYS_fchdir 13
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */ /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS_mknod 14 #define OSF1_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */ /* syscall: "chmod" ret: "int" args: "const char *" "int" */
#define OSF1_SYS_chmod 15 #define OSF1_SYS_chmod 15
/* syscall: "__posix_chown" ret: "int" args: "char *" "int" "int" */ /* syscall: "__posix_chown" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS___posix_chown 16 #define OSF1_SYS___posix_chown 16
/* syscall: "obreak" ret: "int" args: "char *" */ /* syscall: "obreak" ret: "int" args: "char *" */
@ -61,10 +61,10 @@
/* syscall: "getpid" ret: "pid_t" args: */ /* syscall: "getpid" ret: "pid_t" args: */
#define OSF1_SYS_getpid 20 #define OSF1_SYS_getpid 20
/* syscall: "mount" ret: "int" args: "int" "char *" "int" "caddr_t" */ /* syscall: "mount" ret: "int" args: "int" "const char *" "int" "caddr_t" */
#define OSF1_SYS_mount 21 #define OSF1_SYS_mount 21
/* syscall: "unmount" ret: "int" args: "char *" "int" */ /* syscall: "unmount" ret: "int" args: "const char *" "int" */
#define OSF1_SYS_unmount 22 #define OSF1_SYS_unmount 22
/* syscall: "setuid" ret: "int" args: "uid_t" */ /* syscall: "setuid" ret: "int" args: "uid_t" */
@ -73,7 +73,7 @@
/* syscall: "getuid" ret: "uid_t" args: */ /* syscall: "getuid" ret: "uid_t" args: */
#define OSF1_SYS_getuid 24 #define OSF1_SYS_getuid 24
/* syscall: "access" ret: "int" args: "char *" "int" */ /* syscall: "access" ret: "int" args: "const char *" "int" */
#define OSF1_SYS_access 33 #define OSF1_SYS_access 33
/* syscall: "sync" ret: "int" args: */ /* syscall: "sync" ret: "int" args: */
@ -91,7 +91,7 @@
/* syscall: "pipe" ret: "int" args: */ /* syscall: "pipe" ret: "int" args: */
#define OSF1_SYS_pipe 42 #define OSF1_SYS_pipe 42
/* syscall: "open" ret: "int" args: "char *" "int" "int" */ /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS_open 45 #define OSF1_SYS_open 45
/* 46 is obsolete sigaction */ /* 46 is obsolete sigaction */
@ -104,10 +104,10 @@
/* syscall: "__getlogin" ret: "int" args: "char *" "u_int" */ /* syscall: "__getlogin" ret: "int" args: "char *" "u_int" */
#define OSF1_SYS___getlogin 49 #define OSF1_SYS___getlogin 49
/* syscall: "setlogin" ret: "int" args: "char *" */ /* syscall: "setlogin" ret: "int" args: "const char *" */
#define OSF1_SYS_setlogin 50 #define OSF1_SYS_setlogin 50
/* syscall: "acct" ret: "int" args: "char *" */ /* syscall: "acct" ret: "int" args: "const char *" */
#define OSF1_SYS_acct 51 #define OSF1_SYS_acct 51
/* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */ /* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
@ -116,22 +116,22 @@
/* syscall: "reboot" ret: "int" args: "int" */ /* syscall: "reboot" ret: "int" args: "int" */
#define OSF1_SYS_reboot 55 #define OSF1_SYS_reboot 55
/* syscall: "revoke" ret: "int" args: "char *" */ /* syscall: "revoke" ret: "int" args: "const char *" */
#define OSF1_SYS_revoke 56 #define OSF1_SYS_revoke 56
/* syscall: "symlink" ret: "int" args: "char *" "char *" */ /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
#define OSF1_SYS_symlink 57 #define OSF1_SYS_symlink 57
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */ /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
#define OSF1_SYS_readlink 58 #define OSF1_SYS_readlink 58
/* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */ /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
#define OSF1_SYS_execve 59 #define OSF1_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */ /* syscall: "umask" ret: "int" args: "int" */
#define OSF1_SYS_umask 60 #define OSF1_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */ /* syscall: "chroot" ret: "int" args: "const char *" */
#define OSF1_SYS_chroot 61 #define OSF1_SYS_chroot 61
/* syscall: "getpgrp" ret: "int" args: */ /* syscall: "getpgrp" ret: "int" args: */
@ -143,10 +143,10 @@
/* syscall: "vfork" ret: "int" args: */ /* syscall: "vfork" ret: "int" args: */
#define OSF1_SYS_vfork 66 #define OSF1_SYS_vfork 66
/* syscall: "stat" ret: "int" args: "char *" "struct osf1_stat *" */ /* syscall: "stat" ret: "int" args: "const char *" "struct osf1_stat *" */
#define OSF1_SYS_stat 67 #define OSF1_SYS_stat 67
/* syscall: "lstat" ret: "int" args: "char *" "struct osf1_stat *" */ /* syscall: "lstat" ret: "int" args: "const char *" "struct osf1_stat *" */
#define OSF1_SYS_lstat 68 #define OSF1_SYS_lstat 68
/* syscall: "mmap" ret: "caddr_t" args: "caddr_t" "size_t" "int" "int" "int" "off_t" */ /* syscall: "mmap" ret: "caddr_t" args: "caddr_t" "size_t" "int" "int" "int" "off_t" */
@ -173,7 +173,7 @@
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */ /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
#define OSF1_SYS_gethostname 87 #define OSF1_SYS_gethostname 87
/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */ /* syscall: "sethostname" ret: "int" args: "const char *" "u_int" */
#define OSF1_SYS_sethostname 88 #define OSF1_SYS_sethostname 88
/* syscall: "getdtablesize" ret: "int" args: */ /* syscall: "getdtablesize" ret: "int" args: */
@ -261,7 +261,7 @@
/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */ /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
#define OSF1_SYS___posix_rename 128 #define OSF1_SYS___posix_rename 128
/* syscall: "truncate" ret: "int" args: "char *" "off_t" */ /* syscall: "truncate" ret: "int" args: "const char *" "off_t" */
#define OSF1_SYS_truncate 129 #define OSF1_SYS_truncate 129
/* syscall: "ftruncate" ret: "int" args: "int" "off_t" */ /* syscall: "ftruncate" ret: "int" args: "int" "off_t" */
@ -276,13 +276,13 @@
/* syscall: "shutdown" ret: "int" args: "int" "int" */ /* syscall: "shutdown" ret: "int" args: "int" "int" */
#define OSF1_SYS_shutdown 134 #define OSF1_SYS_shutdown 134
/* syscall: "mkdir" ret: "int" args: "char *" "int" */ /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
#define OSF1_SYS_mkdir 136 #define OSF1_SYS_mkdir 136
/* syscall: "rmdir" ret: "int" args: "char *" */ /* syscall: "rmdir" ret: "int" args: "const char *" */
#define OSF1_SYS_rmdir 137 #define OSF1_SYS_rmdir 137
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */ /* syscall: "utimes" ret: "int" args: "const char *" "struct timeval *" */
#define OSF1_SYS_utimes 138 #define OSF1_SYS_utimes 138
/* 139 is obsolete 4.2 sigreturn */ /* 139 is obsolete 4.2 sigreturn */
@ -310,13 +310,13 @@
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define OSF1_SYS_getdirentries 159 #define OSF1_SYS_getdirentries 159
/* syscall: "statfs" ret: "int" args: "char *" "struct osf1_statfs *" "int" */ /* syscall: "statfs" ret: "int" args: "const char *" "struct osf1_statfs *" "int" */
#define OSF1_SYS_statfs 160 #define OSF1_SYS_statfs 160
/* syscall: "fstatfs" ret: "int" args: "int" "struct osf1_statfs *" "int" */ /* syscall: "fstatfs" ret: "int" args: "int" "struct osf1_statfs *" "int" */
#define OSF1_SYS_fstatfs 161 #define OSF1_SYS_fstatfs 161
/* syscall: "__posix_lchown" ret: "int" args: "char *" "int" "int" */ /* syscall: "__posix_lchown" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS___posix_lchown 208 #define OSF1_SYS___posix_lchown 208
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */ /* syscall: "getsid" ret: "pid_t" args: "pid_t" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscallargs.h,v 1.19 1999/02/09 20:36:17 christos Exp $ */ /* $NetBSD: osf1_syscallargs.h,v 1.20 1999/04/23 06:20:33 cgd Exp $ */
/* /*
* System call argument lists. * System call argument lists.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp * created from NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp
*/ */
#ifndef _OSF1_SYS__SYSCALLARGS_H_ #ifndef _OSF1_SYS__SYSCALLARGS_H_
@ -27,7 +27,7 @@
} }
struct osf1_sys_mknod_args { struct osf1_sys_mknod_args {
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(int) mode; syscallarg(int) mode;
syscallarg(int) dev; syscallarg(int) dev;
}; };
@ -46,13 +46,13 @@ struct osf1_sys_lseek_args {
struct osf1_sys_mount_args { struct osf1_sys_mount_args {
syscallarg(int) type; syscallarg(int) type;
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(int) flags; syscallarg(int) flags;
syscallarg(caddr_t) data; syscallarg(caddr_t) data;
}; };
struct osf1_sys_unmount_args { struct osf1_sys_unmount_args {
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(int) flags; syscallarg(int) flags;
}; };
@ -61,7 +61,7 @@ struct osf1_sys_setuid_args {
}; };
struct osf1_sys_open_args { struct osf1_sys_open_args {
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(int) flags; syscallarg(int) flags;
syscallarg(int) mode; syscallarg(int) mode;
}; };
@ -78,17 +78,17 @@ struct osf1_sys_reboot_args {
struct osf1_sys_execve_args { struct osf1_sys_execve_args {
syscallarg(const char *) path; syscallarg(const char *) path;
syscallarg(char **) argp; syscallarg(char *const *) argp;
syscallarg(char **) envp; syscallarg(char *const *) envp;
}; };
struct osf1_sys_stat_args { struct osf1_sys_stat_args {
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(struct osf1_stat *) ub; syscallarg(struct osf1_stat *) ub;
}; };
struct osf1_sys_lstat_args { struct osf1_sys_lstat_args {
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(struct osf1_stat *) ub; syscallarg(struct osf1_stat *) ub;
}; };
@ -131,7 +131,7 @@ struct osf1_sys_writev_args {
}; };
struct osf1_sys_truncate_args { struct osf1_sys_truncate_args {
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(off_t) length; syscallarg(off_t) length;
}; };
@ -170,7 +170,7 @@ struct osf1_sys_sigaction_args {
}; };
struct osf1_sys_statfs_args { struct osf1_sys_statfs_args {
syscallarg(char *) path; syscallarg(const char *) path;
syscallarg(struct osf1_statfs *) buf; syscallarg(struct osf1_statfs *) buf;
syscallarg(int) len; syscallarg(int) len;
}; };

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscalls.c,v 1.17 1999/02/09 20:36:17 christos Exp $ */ /* $NetBSD: osf1_syscalls.c,v 1.18 1999/04/23 06:20:33 cgd Exp $ */
/* /*
* System call names. * System call names.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp * created from NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp
*/ */
#if defined(_KERNEL) && !defined(_LKM) #if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_sysent.c,v 1.19 1999/02/09 20:36:17 christos Exp $ */ /* $NetBSD: osf1_sysent.c,v 1.20 1999/04/23 06:20:33 cgd Exp $ */
/* /*
* System call switch table. * System call switch table.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp * created from NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp
*/ */
#include "opt_compat_43.h" #include "opt_compat_43.h"