summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-10 09:04:49 +0000
committerJim Meyering <jim@meyering.net>2003-09-10 09:04:49 +0000
commit76b378fe2a880d38a5d660fb13efc92768881e8c (patch)
tree97e3bf550978898282ce07e72a134403348fdc9e
parentc219e453f55af57088701b6f2f867e4932bc6c20 (diff)
downloadcoreutils-76b378fe2a880d38a5d660fb13efc92768881e8c.tar.xz
(rmdir): Define with a prototype.
-rw-r--r--lib/rmdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rmdir.c b/lib/rmdir.c
index 2a92803db..5315711c3 100644
--- a/lib/rmdir.c
+++ b/lib/rmdir.c
@@ -1,5 +1,6 @@
/* BSD compatible remove directory function for System V
- Copyright (C) 1988, 1990 Free Software Foundation, Inc.
+
+ Copyright (C) 1988, 1990, 1999, 2003 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 published by
@@ -41,8 +42,7 @@ extern int errno;
Return 0 if successful, -1 if not. */
int
-rmdir (dpath)
- char *dpath;
+rmdir (char const *dpath)
{
pid_t cpid;
int status;