summaryrefslogtreecommitdiff
path: root/libtrivfs/file-lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/file-lock.c')
-rw-r--r--libtrivfs/file-lock.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/libtrivfs/file-lock.c b/libtrivfs/file-lock.c
index c89f2fac..b644024f 100644
--- a/libtrivfs/file-lock.c
+++ b/libtrivfs/file-lock.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994,2002 Free Software Foundation, Inc.
+ Copyright (C) 1994, 2002, 2015-2019 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -12,12 +12,15 @@
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+ along with the GNU Hurd. If not, see <http://www.gnu.org/licenses/>.
+*/
#include "priv.h"
#include "trivfs_fs_S.h"
+#include <fcntl.h>
+#include <sys/file.h>
+
kern_return_t
trivfs_S_file_lock (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
@@ -25,11 +28,3 @@ trivfs_S_file_lock (struct trivfs_protid *cred,
{
return EOPNOTSUPP;
}
-
-kern_return_t
-trivfs_S_file_lock_stat (struct trivfs_protid *cred,
- mach_port_t reply, mach_msg_type_name_t reply_type,
- int *mystatus, int *otherstat)
-{
- return EOPNOTSUPP;
-}