From ec794020acd00cf62d215d216449abeefe8ca320 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 13 Jul 2015 10:41:23 -0400 Subject: [PATCH] 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 --- misc/create_inode.c | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.47.3