[misc] Change name of string_printf to safe_asprintf

This commit is contained in:
ejurgensen
2017-05-05 20:00:51 +02:00
parent dcf75f59eb
commit 1aa8072e68
4 changed files with 150 additions and 147 deletions

View File

@@ -50,6 +50,10 @@ safe_hextou64(const char *str, uint64_t *val);
char *
safe_strdup(const char *str);
char *
safe_asprintf(const char *fmt, ...);
/* Key/value functions */
struct keyval *
keyval_alloc(void);
@@ -201,6 +205,4 @@ log_fatal_errno(int domain, const char *func, int line) __attribute__((__
void
log_fatal_null(int domain, const char *func, int line) __attribute__((__noreturn__));
char *string_printf(const char *fmt, ...);
#endif /* !__MISC_H__ */