From bb7f6242349eff09f44c8bf26bddef2e53a12897 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 12 Sep 2015 15:01:34 +0000 Subject: Wrap shm_open() to go direct and mark shm_{mkstemp,unlink}() as weak --- lib/libc/hidden/sys/mman.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc/hidden') 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 * @@ -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_ */ -- cgit v1.2.3