diff options
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/send.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/sendto.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/send.c b/sysdeps/mach/hurd/send.c index 17fa66344f..79d76fa367 100644 --- a/sysdeps/mach/hurd/send.c +++ b/sysdeps/mach/hurd/send.c @@ -26,7 +26,7 @@ Cambridge, MA 02139, USA. */ /* Send N bytes of BUF to socket FD. Returns the number sent or -1. */ int DEFUN(__send, (fd, buf, n, flags), - int fd AND PTR buf AND size_t n AND int flags) + int fd AND const PTR buf AND size_t n AND int flags) { error_t err; int wrote; diff --git a/sysdeps/mach/hurd/sendto.c b/sysdeps/mach/hurd/sendto.c index 3c08f198e0..3621cd5dd5 100644 --- a/sysdeps/mach/hurd/sendto.c +++ b/sysdeps/mach/hurd/sendto.c @@ -29,7 +29,7 @@ Cambridge, MA 02139, USA. */ ADDR_LEN bytes long). Returns the number sent, or -1 for errors. */ int DEFUN(sendto, (fd, buf, n, flags, addr, addr_len), - int fd AND PTR buf AND size_t n AND int flags AND + int fd AND const PTR buf AND size_t n AND int flags AND const struct sockaddr_un *addr AND size_t addr_len) { addr_port_t aport; |