summaryrefslogtreecommitdiff
path: root/sysdeps/posix/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/remove.c')
-rw-r--r--sysdeps/posix/remove.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/posix/remove.c b/sysdeps/posix/remove.c
index 4ae3cfb4ba..8d331fa171 100644
--- a/sysdeps/posix/remove.c
+++ b/sysdeps/posix/remove.c
@@ -1,5 +1,5 @@
/* ANSI C `remove' function to delete a file or directory. POSIX.1 version.
- Copyright (C) 1995-2015 Free Software Foundation, Inc.
+ Copyright (C) 1995-2016 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
@@ -27,8 +27,7 @@
int
-remove (file)
- const char *file;
+remove (const char *file)
{
/* First try to unlink since this is more frequently the necessary action. */
if (__unlink (file) != 0