[PATCH] fix warnings
Andrew Borodin
aborodin at vmail.ru
Wed Dec 12 05:57:16 UTC 2012
On Wed, 12 Dec 2012 00:40:32 +0100 (CET) Mikulas Patocka wrote:
> This patch fixes compile warnings
>
> * src/filemanager/filegui.c defines macro STATFS but it doesn't use it, it
> uses statfs function instead.
> This results in a warning because statfs has this prototype
> "int statfs(const char *path, struct statfs *buf);", but we pass "struct
> statvfs" as an argument.
This is already fixed in master as part of https://www.midnight-commander.org/ticket/2906.
> * ESC_CHAR is already defined in /usr/include/langinfo.h, so undefined it
> to avoid warning
Thanks! This is applied in temporary branch and will be merged to master soon.
--
Andrew
More information about the mc-devel
mailing list