Sync the entire xmalloc.[ch] with the other users, but with the addition

of xrealloc, xvasprintf, xvsnprintf.
This commit is contained in:
nicm
2015-11-18 13:06:54 +00:00
parent ca5e6bf5f2
commit 64571368dc
7 changed files with 125 additions and 102 deletions

4
log.c
View File

@ -102,7 +102,7 @@ log_debug(const char *msg, ...)
/* Log a critical error with error string and die. */
__dead void
log_fatal(const char *msg, ...)
fatal(const char *msg, ...)
{
char *fmt;
va_list ap;
@ -116,7 +116,7 @@ log_fatal(const char *msg, ...)
/* Log a critical error and die. */
__dead void
log_fatalx(const char *msg, ...)
fatalx(const char *msg, ...)
{
char *fmt;
va_list ap;