1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-08 13:28:05 +00:00

Fixed the return type and args struct tag for exit(). They were wrong in

all emulators.  These entries were unused, so the bug had no effect, but
the the args struct tag will be used to calculate sy_nargs correctly.
This commit is contained in:
Bruce Evans 2000-05-09 18:08:51 +00:00
parent c35cf93676
commit 8bc3445472
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60271
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
0 UNIMPL SVR4 unused
1 NOPROTO POSIX { int exit(int rval); }
1 NOPROTO POSIX { void exit(int rval); } exit rexit_args void
2 NOPROTO POSIX { int fork(void); }
3 NOPROTO POSIX { int read(int fd, char *buf, u_int nbyte); }
4 NOPROTO SVR4 { int write(int fd, char *buf, u_int nbyte); }

View File

@ -35,7 +35,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
0 UNIMPL SVR4 unused
1 NOPROTO POSIX { int exit(int rval); }
1 NOPROTO POSIX { void exit(int rval); } exit rexit_args void
2 NOPROTO POSIX { int fork(void); }
3 NOPROTO POSIX { int read(int fd, char *buf, u_int nbyte); }
4 NOPROTO SVR4 { int write(int fd, char *buf, u_int nbyte); }