remove even more warnings

64-bit cleanliness issue with auto-NULL-appending macros
This commit is contained in:
leitner
2005-05-12 06:52:29 +00:00
parent 6196f771cd
commit eeffc36387
20 changed files with 49 additions and 46 deletions

View File

@@ -24,11 +24,11 @@ void errmsg_warnsys(const char* message, ...);
void errmsg_info(const char* message, ...);
void errmsg_infosys(const char* message, ...);
#define carp(...) errmsg_warn(__VA_ARGS__,0)
#define carpsys(...) errmsg_warnsys(__VA_ARGS__,0)
#define die(n,...) do { errmsg_warn(__VA_ARGS__,0); exit(n); } while (0)
#define diesys(n,...) do { errmsg_warnsys(__VA_ARGS__,0); exit(n); } while (0)
#define msg(...) errmsg_info(__VA_ARGS__,0);
#define msgsys(...) errmsg_infosys(__VA_ARGS__,0);
#define carp(...) errmsg_warn(__VA_ARGS__,(char*)0)
#define carpsys(...) errmsg_warnsys(__VA_ARGS__,(char*)0)
#define die(n,...) do { errmsg_warn(__VA_ARGS__,(char*)0); exit(n); } while (0)
#define diesys(n,...) do { errmsg_warnsys(__VA_ARGS__,(char*)0); exit(n); } while (0)
#define msg(...) errmsg_info(__VA_ARGS__,(char*)0);
#define msgsys(...) errmsg_infosys(__VA_ARGS__,(char*)0);
#endif