diff options
author | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-09-03 22:24:21 +0000 |
---|---|---|
committer | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-09-03 22:24:21 +0000 |
commit | db813f25f26d17ba0b5e52411575ff930db7fac3 (patch) | |
tree | 9800a39aa9adfe8acb9c2b7e7fc119f95979a96f /sysdeps | |
parent | 3112c3742d5d8b16f263ceef8eb771c3eb4eea1a (diff) | |
download | glibc-db813f25f26d17ba0b5e52411575ff930db7fac3.zip glibc-db813f25f26d17ba0b5e52411575ff930db7fac3.tar.gz glibc-db813f25f26d17ba0b5e52411575ff930db7fac3.tar.bz2 |
*** empty log message ***cvs/libc-960904
Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
* shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
call to __libc_lock_lock.
* sysdeps/mach/hurd/send.c (__send): Declare BUF const.
* sysdeps/mach/hurd/sendto.c (sendto): Likewise.
* sysdeps/stub/ustat.c: Include <sys/ustat.h>.
* misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/send.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/sendto.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/ustat.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/send.c b/sysdeps/mach/hurd/send.c index 17fa663..79d76fa 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 3c08f19..3621cd5 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; diff --git a/sysdeps/stub/ustat.c b/sysdeps/stub/ustat.c index 775389f..c90bd36 100644 --- a/sysdeps/stub/ustat.c +++ b/sysdeps/stub/ustat.c @@ -19,6 +19,7 @@ Cambridge, MA 02139, USA. */ #include <unistd.h> #include <errno.h> +#include <sys/ustat.h> int ustat (dev, ust) |