diff --git a/libc/arch-mips/bionic/cacheflush.c b/libc/arch-mips/bionic/cacheflush.cpp similarity index 98% rename from libc/arch-mips/bionic/cacheflush.c rename to libc/arch-mips/bionic/cacheflush.cpp index 2b03eee83..7955dd69d 100644 --- a/libc/arch-mips/bionic/cacheflush.c +++ b/libc/arch-mips/bionic/cacheflush.cpp @@ -55,8 +55,7 @@ #endif /* This is the Android signature */ -int cacheflush (long start, long end, long flags) -{ +int cacheflush (long start, long end, long /*flags*/) { if (end < start) { /* * It looks like this is really MIPS style cacheflush call diff --git a/libc/arch-mips/mips.mk b/libc/arch-mips/mips.mk index 7a3c9789e..3f7094e78 100644 --- a/libc/arch-mips/mips.mk +++ b/libc/arch-mips/mips.mk @@ -5,7 +5,7 @@ _LIBC_ARCH_COMMON_SRC_FILES := \ arch-mips/bionic/_setjmp.S \ arch-mips/bionic/futex_mips.S \ arch-mips/bionic/bzero.S \ - arch-mips/bionic/cacheflush.c \ + arch-mips/bionic/cacheflush.cpp \ arch-mips/bionic/clone.S \ arch-mips/bionic/ffs.S \ arch-mips/bionic/memcmp16.S \