Final round of portab fixes - UPX should now compile on any halfway

modern C++ compiler.

committer: mfx <mfx> 1058789145 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-07-21 12:05:45 +00:00
parent bbbea34d74
commit 4e64cdac15
9 changed files with 112 additions and 55 deletions
+5 -5
View File
@@ -130,7 +130,7 @@ void printErr(const char *iname, const Throwable *e)
}
void __acc_cdecl printErr(const char *iname, const char *format, ...)
void __acc_cdecl_va printErr(const char *iname, const char *format, ...)
{
va_list args;
char buf[1024];
@@ -143,7 +143,7 @@ void __acc_cdecl printErr(const char *iname, const char *format, ...)
}
void __acc_cdecl printWarn(const char *iname, const char *format, ...)
void __acc_cdecl_va printWarn(const char *iname, const char *format, ...)
{
va_list args;
char buf[1024];
@@ -200,7 +200,7 @@ void infoHeader()
info_header = 0;
}
void __acc_cdecl infoHeader(const char *format, ...)
void __acc_cdecl_va infoHeader(const char *format, ...)
{
if (opt->info_mode <= 0)
return;
@@ -214,7 +214,7 @@ void __acc_cdecl infoHeader(const char *format, ...)
}
void __acc_cdecl info(const char *format, ...)
void __acc_cdecl_va info(const char *format, ...)
{
if (opt->info_mode <= 0)
return;
@@ -229,7 +229,7 @@ void __acc_cdecl info(const char *format, ...)
}
void __acc_cdecl infoWarning(const char *format, ...)
void __acc_cdecl_va infoWarning(const char *format, ...)
{
if (opt->info_mode <= 0)
{