DEVTOOLS: Silence linker warning by convert c file to c++

This commit is contained in:
Paweł Kołodziejski 2021-03-20 14:00:03 +01:00
parent b377f6d68f
commit 99b66cece7
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7
3 changed files with 3 additions and 3 deletions

View File

@ -850,7 +850,7 @@ void compressCharset(const unsigned char *data, const char *var, const char *nam
printf("};\n\n");
}
int main() {
int main(int /*argc*/, char ** /*argv*/) {
int i, j;
printf("// These replacement character tables have been created using the\n");

View File

@ -36,11 +36,11 @@ devtools/convbdf$(EXEEXT): $(srcdir)/devtools/convbdf.cpp
$(QUIET)$(MKDIR) devtools/$(DEPDIR)
+$(QUIET_LINK)$(LD) $(CXXFLAGS) -Wall -o $@ $<
devtools/md5table$(EXEEXT): $(srcdir)/devtools/md5table.c
devtools/md5table$(EXEEXT): $(srcdir)/devtools/md5table.cpp
$(QUIET)$(MKDIR) devtools/$(DEPDIR)
+$(QUIET_LINK)$(LD) $(CFLAGS) -Wall -o $@ $<
devtools/make-scumm-fontdata$(EXEEXT): $(srcdir)/devtools/make-scumm-fontdata.c
devtools/make-scumm-fontdata$(EXEEXT): $(srcdir)/devtools/make-scumm-fontdata.cpp
$(QUIET)$(MKDIR) devtools/$(DEPDIR)
+$(QUIET_LINK)$(LD) $(CFLAGS) -Wall -o $@ $<