-#define PERROR(fmt, args...)\
- sms_err("smscore error: line %d- %s(): " fmt, \
- __LINE__, __func__, ## args)
-
-#ifdef SMSCORE_DEBUG
-#undef PWARNING
-# define PWARNING(fmt, args...) sms_info("smscore warning: " \
- "line %d- %s(): " fmt, \
- __LINE__, __func__, ## args)
-#undef PDEBUG /* undef it, just in case */
-# define PDEBUG(fmt, args...) sms_info("smscore - %s(): " fmt, \
- __func__, ## args)
-#else /*SMSCORE_DEBUG*/
-#define PDEBUG(fmt, args...)
-#define PWARNING(fmt, args...)
-#endif
-