From 76b378fe2a880d38a5d660fb13efc92768881e8c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 10 Sep 2003 09:04:49 +0000 Subject: [PATCH] (rmdir): Define with a prototype. --- lib/rmdir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rmdir.c b/lib/rmdir.c index 2a92803db7..5315711c32 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; -- 2.47.2