Whamcloud - gitweb
create_inode: remove backup definition of __func__
authorTheodore Ts'o <tytso@mit.edu>
Mon, 13 Jul 2015 14:41:23 +0000 (10:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 13 Jul 2015 14:47:27 +0000 (10:47 -0400)
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 <tytso@mit.edu>
misc/create_inode.c

index 4dd3108..294ac5e 100644 (file)
 #include "create_inode.h"
 #include "support/nls-enable.h"
 
-#if __STDC_VERSION__ < 199901L
-# if __GNUC__ >= 2
-#  define __func__ __FUNCTION__
-# else
-#  define __func__ "<unknown>"
-# endif
-#endif
-
 /* 64KiB is the minimium blksize to best minimize system call overhead. */
 #define COPY_FILE_BUFLEN       65536