diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 10:11:55 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 10:11:55 +0000 |
commit | 51b08e0be793bbe8623c274a61d517f5e289aae3 (patch) | |
tree | 1c1a05be097aba39ff37c55177232c41ecf5fe1d /lib | |
parent | 488901d4be3c9fb12cc3dfa4e008510822e04859 (diff) |
Make isfdtype() and getmntinfo() weak symbols
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/hidden/sys/mount.h | 3 | ||||
-rw-r--r-- | lib/libc/hidden/sys/stat.h | 3 |
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); |