From: Paul Eggert Date: Mon, 17 Apr 2006 23:21:30 +0000 (+0000) Subject: (HAVE_DECL_STRMODE): Include for strmode. X-Git-Tag: v6.0~475 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc536fbed12989d74e3eed7399a549e46f6259e6;p=thirdparty%2Fcoreutils.git (HAVE_DECL_STRMODE): Include for strmode. (strmode): Renamed from mode_string. (filemodestring): New decl. --- diff --git a/lib/filemode.h b/lib/filemode.h index 5d3da67035..47167367b0 100644 --- a/lib/filemode.h +++ b/lib/filemode.h @@ -1,6 +1,6 @@ /* Make a string describing file modes. - Copyright (C) 1998, 1999, 2003 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2003, 2006 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 @@ -19,7 +19,14 @@ #ifndef FILEMODE_H_ # include +# include -void mode_string (mode_t mode, char *str); +# if HAVE_DECL_STRMODE +# include +# else +void strmode (mode_t mode, char *str); +# endif + +void filemodestring (struct stat const *statp, char *str); #endif