X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffsusage.c;h=db0d3bc5370e40a1324bd02a1f4aa9da5fe9bea5;hb=fa3486514bd8f15f8eb4c49821d0356b52e5a335;hp=e11fd14e8200728cedc94ad24c6ffd86b498b5aa;hpb=70dde581e33b5952fa00e1b5914c081688db7bc4;p=gnulib.git diff --git a/lib/fsusage.c b/lib/fsusage.c index e11fd14e8..db0d3bc53 100644 --- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -84,12 +84,6 @@ otherwise, use PROPAGATE_ALL_ONES. */ #define PROPAGATE_TOP_BIT(x) ((x) | ~ (EXTRACT_TOP_BIT (x) - 1)) -#ifdef STAT_READ_FILSYS -# define UNUSED_PARAM /* empty */ -#else -# define UNUSED_PARAM _UNUSED_PARAMETER_ -#endif - /* Fill in the fields of FSP with information about space usage for the file system on which FILE resides. DISK is the device on which FILE is mounted, for space-getting @@ -98,8 +92,7 @@ ERRNO is either a system error value, or zero if DISK is NULL on a system that requires a non-NULL value. */ int -get_fs_usage (char const *file, char const *disk UNUSED_PARAM, - struct fs_usage *fsp) +get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp) { #if defined STAT_STATVFS /* POSIX */ @@ -239,6 +232,7 @@ get_fs_usage (char const *file, char const *disk UNUSED_PARAM, #endif + (void) disk; /* avoid argument-unused warning */ return 0; }