diff options
-rw-r--r-- | sys/sys/syscall.h | 20 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 22 |
2 files changed, 21 insertions, 21 deletions
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 0b758718a83..aedbc4c85fd 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.34 1998/11/18 01:15:59 art Exp $ */ +/* $OpenBSD: syscall.h,v 1.35 1999/02/26 02:02:44 millert Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.32 1998/11/18 01:14:25 art Exp + * created from; OpenBSD: syscalls.master,v 1.34 1999/02/15 21:28:23 millert Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -90,16 +90,16 @@ /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */ #define SYS_sendmsg 28 -/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "int *" */ +/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "socklen_t *" */ #define SYS_recvfrom 29 -/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "int *" */ +/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ #define SYS_accept 30 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "int *" */ #define SYS_getpeername 31 -/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "int *" */ +/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ #define SYS_getsockname 32 /* syscall: "access" ret: "int" args: "const char *" "int" */ @@ -273,7 +273,7 @@ /* syscall: "socket" ret: "int" args: "int" "int" "int" */ #define SYS_socket 97 -/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */ +/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */ #define SYS_connect 98 /* 99 is compat_43 oaccept */ @@ -288,10 +288,10 @@ /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */ #define SYS_sigreturn 103 -/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "int" */ +/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */ #define SYS_bind 104 -/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "int" */ +/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */ #define SYS_setsockopt 105 /* syscall: "listen" ret: "int" args: "int" "int" */ @@ -323,7 +323,7 @@ /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */ #define SYS_getrusage 117 -/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */ +/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */ #define SYS_getsockopt 118 /* 119 is obsolete resuba */ @@ -361,7 +361,7 @@ /* syscall: "mkfifo" ret: "int" args: "const char *" "int" */ #define SYS_mkfifo 132 -/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "int" */ +/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */ #define SYS_sendto 133 /* syscall: "shutdown" ret: "int" args: "int" "int" */ diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index c3619e35218..7a094fd1087 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.35 1998/11/18 01:15:59 art Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.36 1999/02/26 02:02:43 millert Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.32 1998/11/18 01:14:25 art Exp + * created from; OpenBSD: syscalls.master,v 1.34 1999/02/15 21:28:23 millert Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -138,13 +138,13 @@ struct sys_recvfrom_args { syscallarg(size_t) len; syscallarg(int) flags; syscallarg(struct sockaddr *) from; - syscallarg(int *) fromlenaddr; + syscallarg(socklen_t *) fromlenaddr; }; struct sys_accept_args { syscallarg(int) s; syscallarg(struct sockaddr *) name; - syscallarg(int *) anamelen; + syscallarg(socklen_t *) anamelen; }; struct sys_getpeername_args { @@ -156,7 +156,7 @@ struct sys_getpeername_args { struct sys_getsockname_args { syscallarg(int) fdes; syscallarg(struct sockaddr *) asa; - syscallarg(int *) alen; + syscallarg(socklen_t *) alen; }; struct sys_access_args { @@ -414,7 +414,7 @@ struct sys_socket_args { struct sys_connect_args { syscallarg(int) s; syscallarg(const struct sockaddr *) name; - syscallarg(int) namelen; + syscallarg(socklen_t) namelen; }; struct compat_43_sys_accept_args { @@ -449,7 +449,7 @@ struct sys_sigreturn_args { struct sys_bind_args { syscallarg(int) s; syscallarg(const struct sockaddr *) name; - syscallarg(int) namelen; + syscallarg(socklen_t) namelen; }; struct sys_setsockopt_args { @@ -457,7 +457,7 @@ struct sys_setsockopt_args { syscallarg(int) level; syscallarg(int) name; syscallarg(const void *) val; - syscallarg(int) valsize; + syscallarg(socklen_t) valsize; }; struct sys_listen_args { @@ -520,7 +520,7 @@ struct sys_getsockopt_args { syscallarg(int) level; syscallarg(int) name; syscallarg(void *) val; - syscallarg(int *) avalsize; + syscallarg(socklen_t *) avalsize; }; struct sys_readv_args { @@ -601,7 +601,7 @@ struct sys_sendto_args { syscallarg(size_t) len; syscallarg(int) flags; syscallarg(const struct sockaddr *) to; - syscallarg(int) tolen; + syscallarg(socklen_t) tolen; }; struct sys_shutdown_args { @@ -638,7 +638,7 @@ struct sys_adjtime_args { struct compat_43_sys_getpeername_args { syscallarg(int) fdes; syscallarg(caddr_t) asa; - syscallarg(int *) alen; + syscallarg(socklen_t *) alen; }; struct compat_43_sys_sethostid_args { |