From: Theodore Ts'o Date: Mon, 13 Jul 2015 14:41:23 +0000 (-0400) Subject: create_inode: remove backup definition of __func__ X-Git-Tag: v1.43-WIP-2016-03-15~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec794020acd00cf62d215d216449abeefe8ca320;p=thirdparty%2Fe2fsprogs.git create_inode: remove backup definition of __func__ We are using __func__ without any backup definition in the rest of e2fsprogs, and this is causing warnings in the Android build, so just remove it. Signed-off-by: Theodore Ts'o --- diff --git a/misc/create_inode.c b/misc/create_inode.c index 4dd31083e..294ac5e59 100644 --- a/misc/create_inode.c +++ b/misc/create_inode.c @@ -29,14 +29,6 @@ #include "create_inode.h" #include "support/nls-enable.h" -#if __STDC_VERSION__ < 199901L -# if __GNUC__ >= 2 -# define __func__ __FUNCTION__ -# else -# define __func__ "" -# endif -#endif - /* 64KiB is the minimium blksize to best minimize system call overhead. */ #define COPY_FILE_BUFLEN 65536