I have a function log_message
it takes variable arguments.
log_message(int level, char *fmt, ...)
now before calling this(log_message
) function i have to add new function(_log_message
), and new function will call log_message
.
_log_message(int level, char *fmt, ...)
new function is also same. when _log_message
will call log_message
it will convert variable input to va_list
. Now i have va_list
, i don't wanna change the original one, is there any way to change back to variable input, so i will able to call the original one(log_message
).