fd317894 | 06-May-2018 |
Sascha Wildner <saw@online.de> |
<unistd.h>: Remove 'restrict' from symlink().
Neither NetBSD, OpenBSD, glibc, nor any standard I checked has them.
Discussed-with: zrj |
39e1f7d7 | 06-Mar-2018 |
Sascha Wildner <saw@online.de> |
kernel/extp{read,write}v: Change ioccnt from u_int to int.
Just like preadv(), pwritev(). Struct uio's uio_ioccnt is also int. Also adjust iovec_copyin() to take an int.
While here, make iovec cons
kernel/extp{read,write}v: Change ioccnt from u_int to int.
Just like preadv(), pwritev(). Struct uio's uio_ioccnt is also int. Also adjust iovec_copyin() to take an int.
While here, make iovec const, also like in preadv/pwritev.
Discussed-with: dillon
show more ...
|
dd138a0c | 03-Mar-2018 |
Sascha Wildner <saw@online.de> |
Remove some really old portability hacks that should no longer be needed.
This no longer declares ftruncate()/lseek()/mmap() and truncate() in either <stdio.h> or <sys/types.h>. 20 years after FreeB
Remove some really old portability hacks that should no longer be needed.
This no longer declares ftruncate()/lseek()/mmap() and truncate() in either <stdio.h> or <sys/types.h>. 20 years after FreeBSD added it (in r24896) we should be over it. What's left, we'll fix better.
show more ...
|
dab9342f | 03-Mar-2018 |
Sascha Wildner <saw@online.de> |
<arpa/inet.h>: Some cleanups.
* Stop defining struct in6_addr. This doesn't belong here, and it was originally only added because of some issue in pkgsrc. Thanks to Sevan Janiyan for confirming
<arpa/inet.h>: Some cleanups.
* Stop defining struct in6_addr. This doesn't belong here, and it was originally only added because of some issue in pkgsrc. Thanks to Sevan Janiyan for confirming that this no longer occurs.
* Incude <stdint.h> instead of the full <sys/types.h> and define in_addr_t and in_port_t per POSIX.
* Put inet_ntoa_r under __BSD_VISIBLE.
* Remove an obsolete comment.
show more ...
|