summaryrefslogtreecommitdiff
path: root/misc/revoke.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/revoke.c')
-rw-r--r--misc/revoke.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/revoke.c b/misc/revoke.c
index 2c395e9639..28269a05d0 100644
--- a/misc/revoke.c
+++ b/misc/revoke.c
@@ -1,5 +1,5 @@
/* Revoke the access of all descriptors currently open on a file.
- Copyright (C) 1995-2016 Free Software Foundation, Inc.
+ Copyright (C) 1995-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,9 +20,11 @@
#include <errno.h>
int
-revoke (const char *file)
+__revoke (const char *file)
{
__set_errno (ENOSYS);
return -1;
}
+
+weak_alias (__revoke, revoke)
stub_warning (revoke)