mirror of
https://github.com/json-c/json-c.git
synced 2026-03-29 09:59:06 +08:00
Eliminate the deprecated mc_abort() function and MC_ABORT macro.
This commit is contained in:
8
debug.h
8
debug.h
@@ -24,10 +24,6 @@ extern int mc_get_debug(void);
|
||||
|
||||
extern void mc_set_syslog(int syslog);
|
||||
|
||||
/**
|
||||
* @deprecated Use mc_error(), and return an appropriate error.
|
||||
*/
|
||||
extern void mc_abort(const char *msg, ...);
|
||||
extern void mc_debug(const char *msg, ...);
|
||||
extern void mc_error(const char *msg, ...);
|
||||
extern void mc_info(const char *msg, ...);
|
||||
@@ -52,10 +48,6 @@ extern void mc_info(const char *msg, ...);
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @deprecated Use MC_ERROR(), and return an appropriate error.
|
||||
*/
|
||||
#define MC_ABORT(x, ...) mc_abort(x, ##__VA_ARGS__)
|
||||
#define MC_ERROR(x, ...) mc_error(x, ##__VA_ARGS__)
|
||||
|
||||
#ifdef MC_MAINTAINER_MODE
|
||||
|
||||
Reference in New Issue
Block a user