summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-14 10:11:54 +0000
committerguenther <guenther@openbsd.org>2015-09-14 10:11:54 +0000
commit5674b11ff5f1df7421702a793745924b56116350 (patch)
tree0e190e60d7efd5aa1c565ecfc16af81df93bfada /lib
parentApply the ancient art of tedu to ksh_limval.h. ok guenther (diff)
downloadwireguard-openbsd-5674b11ff5f1df7421702a793745924b56116350.tar.xz
wireguard-openbsd-5674b11ff5f1df7421702a793745924b56116350.zip
Make isfdtype() and getmntinfo() weak symbols
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/hidden/sys/mount.h3
-rw-r--r--lib/libc/hidden/sys/stat.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/hidden/sys/mount.h b/lib/libc/hidden/sys/mount.h
index d850b9f781e..1168671fb19 100644
--- a/lib/libc/hidden/sys/mount.h
+++ b/lib/libc/hidden/sys/mount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.h,v 1.1 2015/09/11 15:38:33 guenther Exp $ */
+/* $OpenBSD: mount.h,v 1.2 2015/09/14 10:11:54 guenther Exp $ */
/*
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
*
@@ -26,6 +26,7 @@ PROTO_NORMAL(fhstatfs);
PROTO_NORMAL(fstatfs);
PROTO_NORMAL(getfh);
PROTO_NORMAL(getfsstat);
+PROTO_DEPRECATED(getmntinfo);
PROTO_NORMAL(mount);
PROTO_NORMAL(statfs);
PROTO_NORMAL(unmount);
diff --git a/lib/libc/hidden/sys/stat.h b/lib/libc/hidden/sys/stat.h
index a2090a0a438..4c95416041d 100644
--- a/lib/libc/hidden/sys/stat.h
+++ b/lib/libc/hidden/sys/stat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stat.h,v 1.1 2015/09/11 15:38:33 guenther Exp $ */
+/* $OpenBSD: stat.h,v 1.2 2015/09/14 10:11:54 guenther Exp $ */
/*
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
*
@@ -28,6 +28,7 @@ PROTO_NORMAL(fchmodat);
PROTO_NORMAL(fstat);
PROTO_NORMAL(fstatat);
PROTO_NORMAL(futimens);
+PROTO_DEPRECATED(isfdtype);
PROTO_NORMAL(lstat);
PROTO_NORMAL(mkdir);
PROTO_NORMAL(mkdirat);