diff options
Diffstat (limited to 'openbsd-compat/bsd-nextstep.h')
-rw-r--r-- | openbsd-compat/bsd-nextstep.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/openbsd-compat/bsd-nextstep.h b/openbsd-compat/bsd-nextstep.h index c6a7019c6..dc5dc7e17 100644 --- a/openbsd-compat/bsd-nextstep.h +++ b/openbsd-compat/bsd-nextstep.h | |||
@@ -1,3 +1,5 @@ | |||
1 | /* XXX - author */ | ||
2 | |||
1 | /* | 3 | /* |
2 | * Redistribution and use in source and binary forms, with or without | 4 | * Redistribution and use in source and binary forms, with or without |
3 | * modification, are permitted provided that the following conditions | 5 | * modification, are permitted provided that the following conditions |
@@ -21,7 +23,7 @@ | |||
21 | * | 23 | * |
22 | */ | 24 | */ |
23 | 25 | ||
24 | /* $Id: bsd-nextstep.h,v 1.6 2001/03/19 13:42:22 mouring Exp $ */ | 26 | /* $Id: bsd-nextstep.h,v 1.7 2003/05/18 14:13:39 djm Exp $ */ |
25 | 27 | ||
26 | #ifndef _NEXT_POSIX_H | 28 | #ifndef _NEXT_POSIX_H |
27 | #define _NEXT_POSIX_H | 29 | #define _NEXT_POSIX_H |
@@ -37,22 +39,21 @@ | |||
37 | #define dirent direct | 39 | #define dirent direct |
38 | 40 | ||
39 | /* Swap out NeXT's BSD wait() for a more POSIX complient one */ | 41 | /* Swap out NeXT's BSD wait() for a more POSIX complient one */ |
40 | pid_t posix_wait(int *status); | 42 | pid_t posix_wait(int *); |
41 | #define wait(a) posix_wait(a) | 43 | #define wait(a) posix_wait(a) |
42 | 44 | ||
43 | /* #ifdef wrapped functions that need defining for clean compiling */ | 45 | /* #ifdef wrapped functions that need defining for clean compiling */ |
44 | pid_t getppid(void); | 46 | pid_t getppid(void); |
45 | void vhangup(void); | 47 | void vhangup(void); |
46 | int innetgr(const char *netgroup, const char *host, const char *user, | 48 | int innetgr(const char *, const char *, const char *, const char *); |
47 | const char *domain); | ||
48 | 49 | ||
49 | /* TERMCAP */ | 50 | /* TERMCAP */ |
50 | int tcgetattr(int fd, struct termios *t); | 51 | int tcgetattr(int, struct termios *); |
51 | int tcsetattr(int fd, int opt, const struct termios *t); | 52 | int tcsetattr(int, int, const struct termios *); |
52 | int tcsetpgrp(int fd, pid_t pgrp); | 53 | int tcsetpgrp(int, pid_t); |
53 | speed_t cfgetospeed(const struct termios *t); | 54 | speed_t cfgetospeed(const struct termios *); |
54 | speed_t cfgetispeed(const struct termios *t); | 55 | speed_t cfgetispeed(const struct termios *); |
55 | int cfsetospeed(struct termios *t, int speed); | 56 | int cfsetospeed(struct termios *, int); |
56 | int cfsetispeed(struct termios *t, int speed); | 57 | int cfsetispeed(struct termios *, int); |
57 | #endif /* HAVE_NEXT */ | 58 | #endif /* HAVE_NEXT */ |
58 | #endif /* _NEXT_POSIX_H */ | 59 | #endif /* _NEXT_POSIX_H */ |