summaryrefslogtreecommitdiffstats
path: root/libc/pwd_grp/lckpwdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/pwd_grp/lckpwdf.c')
-rw-r--r--libc/pwd_grp/lckpwdf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/pwd_grp/lckpwdf.c b/libc/pwd_grp/lckpwdf.c
index 3f0968aa0..72f8e3c83 100644
--- a/libc/pwd_grp/lckpwdf.c
+++ b/libc/pwd_grp/lckpwdf.c
@@ -20,6 +20,8 @@
Boston, MA 02111-1307, USA. */
#define sigfillset __sigfillset_internal
+#define sigaction __sigaction
+#define alarm __alarm
#include <features.h>
#include <fcntl.h>
@@ -174,7 +176,7 @@ int ulckpwdf (void)
}
-static void noop_handler (int sig)
+static void noop_handler (attribute_unused int sig)
{
/* We simply return which makes the `fcntl' call return with an error. */
}