This patch series creates a common.h and populates it with some function prototypes and logging stuff.
The changes here are fairly minor and mostly consist of switching over to use the new logging macros. Probably the most helpful one is CLD_DEBUG, which only evaluates its arguments if log->verbose is set. CLD_INFO, CLD_WARN, CLD_ERR and CLD_CRIT simply call the log function with the appropriate log level, in a shorter amount of code. I also eliminated some cases where we had to pass both a logging function and a verbosity level. We only need to pass a pointer to a cld_log struct now. This should facilitate some code sharing and hopefully improve stuff. regards, C. -- To unsubscribe from this list: send the line "unsubscribe hail-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html