summary refs log tree commit diff
path: root/include/sys/mman.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-19 13:53:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-19 13:53:34 +0000
commitfe559c5e1ce629f94f1621c76f5cfd59d6028830 (patch)
tree8aff0f4deccf163242ad22f0dddcd2f2da238c26 /include/sys/mman.h
parent8847214f239965f538e42a09d3d08ce8c700dea2 (diff)
downloadglibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.tar.gz
glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.tar.xz
glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.zip
Update.
1999-10-19  Andreas Jaeger  <aj@suse.de>

	* include/bits/ipc.h: Remove K&R compatibility.
	* include/libintl.h: Likewise.
	* include/math.h: Likewise.
	* include/mntent.h: Likewise
	* include/netdb.h: Likewise.
	* include/pwd.h: Likewise.
	* include/sched.h: Likewise.
	* include/shadow.h: Likewise
	* include/stdlib.h: Likewise.
	* include/sys/file.h: Likewise.
	* include/sys/gmon.h: Likewise.
	* include/sys/ioctl.h: Likewise.
	* include/sys/mman.h: Likewise.
	* include/sys/resource.h: Likewise.
	* include/sys/socket.h: Likewise.
	* include/sys/stat.h: Likewise.
	* include/sys/sysinfo.h: Likewise.
	* include/sys/time.h: Likewise.
	* include/sys/times.h: Likewise.
	* include/sys/uio.h: Likewise.
	* include/sys/wait.h: Likewise.
	* include/termios.h: Likewise.
	* include/time.h: Likewise.
	* include/ulimit.h: Likewise.
	* include/utmp.h: Likewise.
	* include/wchar.h: Likewise.
	* include/wctype.h: Likewise.

1999-10-19  Andreas Jaeger  <aj@suse.de>

	* math/libm-test.inc: Remove one K&R compatibility.
	(main): Enable nexttoward_test.

	* math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
	libm-test-ulps.h; pretty print output a bit.

1999-10-19  Andreas Jaeger  <aj@suse.de>

	* iconv/iconv_prog.c (main): Set exit value in case that reading
	from stdin failed [PR libc/1404].
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r--include/sys/mman.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 374de36211..a76c23688f 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -2,14 +2,14 @@
 #include <misc/sys/mman.h>
 
 /* Now define the internal interfaces.  */
-extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
-			    int __flags, int __fd, __off_t __offset));
-extern __ptr_t __mmap64 __P ((__ptr_t __addr, size_t __len, int __prot,
-			      int __flags, int __fd, __off64_t __offset));
-extern int __munmap __P ((__ptr_t __addr, size_t __len));
-extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern void *__mmap (void *__addr, size_t __len, int __prot,
+		     int __flags, int __fd, __off_t __offset) __THROW;
+extern void *__mmap64 (void *__addr, size_t __len, int __prot,
+		       int __flags, int __fd, __off64_t __offset) __THROW;
+extern int __munmap (void *__addr, size_t __len) __THROW;
+extern int __mprotect (void *__addr, size_t __len, int __prot) __THROW;
 
 /* This one is Linux specific.  */
-extern __ptr_t __mremap __P ((__ptr_t __addr, size_t __old_len,
-			    size_t __new_len, int __may_move));
+extern void *__mremap (void *__addr, size_t __old_len,
+		       size_t __new_len, int __may_move) __THROW;
 #endif