Mercurial > paster
diff util.h @ 1:836a698946f8
pasterd: add basic routes
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 04 Feb 2020 16:44:43 +0100 |
parents | 15a06aa20298 |
children | f455893bf0b0 |
line wrap: on
line diff
--- a/util.h Tue Feb 04 13:35:52 2020 +0100 +++ b/util.h Tue Feb 04 16:44:43 2020 +0100 @@ -19,12 +19,15 @@ #ifndef PASTER_UTIL_H #define PASTER_UTIL_H -#include <noreturn.h> +#include <stdnoreturn.h> noreturn void -die(const char *fmt, ...); +die(const char *, ...); char * -estrdup(const char *str); +estrdup(const char *); + +const char * +bprintf(const char *, ...); #endif /* !PASTER_UTIL_H */