summaryrefslogtreecommitdiff
path: root/lib/libc/hidden
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-12 15:01:34 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-12 15:01:34 +0000
commitbb7f6242349eff09f44c8bf26bddef2e53a12897 (patch)
tree55f5825308bcad93c4357a2278ca66302926ee39 /lib/libc/hidden
parente64b6c4739e4ab6efdeffd0ae4b67bd74666daca (diff)
Wrap shm_open() to go direct and mark shm_{mkstemp,unlink}() as weak
Diffstat (limited to 'lib/libc/hidden')
-rw-r--r--lib/libc/hidden/sys/mman.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/hidden/sys/mman.h b/lib/libc/hidden/sys/mman.h
index cf447a41d75..b01a4a9deff 100644
--- a/lib/libc/hidden/sys/mman.h
+++ b/lib/libc/hidden/sys/mman.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mman.h,v 1.1 2015/09/11 13:26:20 guenther Exp $ */
+/* $OpenBSD: mman.h,v 1.2 2015/09/12 15:01:33 guenther Exp $ */
/*
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
*
@@ -33,8 +33,8 @@ PROTO_NORMAL(munlock);
PROTO_NORMAL(munlockall);
PROTO_NORMAL(munmap);
PROTO_DEPRECATED(posix_madvise);
-/*PROTO_NORMAL(shm_mkstemp); */
-/*PROTO_NORMAL(shm_open); */
-/*PROTO_NORMAL(shm_unlink); */
+PROTO_DEPRECATED(shm_mkstemp);
+PROTO_NORMAL(shm_open);
+PROTO_DEPRECATED(shm_unlink);
#endif /* _LIBC_SYS_MMAN_H_ */