diff --git a/Makefile b/Makefile index 4d8508f34..35b8294d2 100644 --- a/Makefile +++ b/Makefile @@ -1366,11 +1366,11 @@ obj/BeOS_print.o: src/BeOS_print.cpp src/BeOS_print.h @$(CC) $(CFLAGS) $(DEBUG_FLAGS) $(SDL_CFLAGS) $(DEFS) $(ARCH_DEFS) \ -c src/BeOS_print.cpp -o obj/BeOS_print.o -obj/haiku_trash.o: src/haiku_trash.c src/debug.h +obj/haiku_trash.o: src/haiku_trash.cpp src/debug.h @echo @echo "...Compiling Haiku trash support..." @$(CC) $(CFLAGS) $(DEBUG_FLAGS) $(SDL_CFLAGS) $(DEFS) $(ARCH_DEFS) \ - -c src/haiku_trash.c -o obj/haiku_trash.o + -c src/haiku_trash.cpp -o obj/haiku_trash.o obj/win32_print.o: src/win32_print.c src/win32_print.h src/debug.h @echo diff --git a/src/haiku_trash.c b/src/haiku_trash.cpp similarity index 99% rename from src/haiku_trash.c rename to src/haiku_trash.cpp index d1de99263..f09c108e7 100644 --- a/src/haiku_trash.c +++ b/src/haiku_trash.cpp @@ -1,4 +1,6 @@ /* + * haiku_trash.cpp + * * Place a file in the Trash under Haiku. * * From Haiku `trash.cpp` @@ -14,7 +16,7 @@ * publish, distribute, sublicense, and/or sell copies of the Software, * and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: - + * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. *