From: Jim Meyering Date: Wed, 10 Sep 2003 09:04:49 +0000 (+0000) Subject: (rmdir): Define with a prototype. X-Git-Tag: v5.1.0~746 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b378fe2a880d38a5d660fb13efc92768881e8c;p=thirdparty%2Fcoreutils.git (rmdir): Define with a prototype. --- 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;