Convert GNU-styled variadic macros to ISO(9x) style.

This commit is contained in:
Mark Murray 2002-07-15 13:15:31 +00:00
parent 4f8cb019ea
commit 8deedb62c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100075

View File

@ -45,11 +45,11 @@
MODULE_VERSION(libmchain, 1);
#define MBERROR(format, args...) printf("%s(%d): "format, __func__ , \
__LINE__ ,## args)
#define MBERROR(format, ...) printf("%s(%d): "format, __func__ , \
__LINE__ , ## __VA_ARGS__)
#define MBPANIC(format, args...) printf("%s(%d): "format, __func__ , \
__LINE__ ,## args)
#define MBPANIC(format, ...) printf("%s(%d): "format, __func__ , \
__LINE__ , ## __VA_ARGS__)
/*
* Various helper functions