log: add die() for convenience

This commit is contained in:
Johan Malm 2020-10-23 20:23:56 +01:00
parent c8040e4d3b
commit aab7b71520
2 changed files with 17 additions and 0 deletions

View file

@ -11,4 +11,9 @@ void info(const char *msg, ...);
*/
void warn(const char *err, ...);
/**
* die - print fatal message and exit()
*/
void die(const char *err, ...);
#endif /* __LABWC_LOG_H */