aboutsummaryrefslogtreecommitdiffstats
path: root/eprintf.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-02-11 15:30:37 +0000
committerTomasz Kramkowski <tk@the-tk.com>2017-02-11 15:30:37 +0000
commitb8ede3c284299173f3981aa85dcbd16806a57f55 (patch)
tree31beb63b99f1840472da304de628e6114ba61f8e /eprintf.h
parent99778c999c364ad3e5967f7a9a0a3e484c279716 (diff)
parent0fc0c19e4dc2b4ec2f175744e1ac468643b6da71 (diff)
downloadhktool-b8ede3c284299173f3981aa85dcbd16806a57f55.tar.gz
hktool-b8ede3c284299173f3981aa85dcbd16806a57f55.tar.xz
hktool-b8ede3c284299173f3981aa85dcbd16806a57f55.zip
Merge branch 'halfkay-error-handling'
Diffstat (limited to 'eprintf.h')
-rw-r--r--eprintf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/eprintf.h b/eprintf.h
index aecc3a6..bfe4ca8 100644
--- a/eprintf.h
+++ b/eprintf.h
@@ -6,10 +6,11 @@ noreturn void eprintf(const char *fmt, ...)
__attribute__((format(printf, 1, 2)));
void weprintf(const char *fmt, ...)
__attribute__((format(printf, 1, 2)));
-char *estrdup(const char *);
-void *emalloc(size_t);
-void *erealloc(void *, size_t);
+char *estrdup(const char *str);
+void *emalloc(size_t size);
+void *ecalloc(size_t nmemb, size_t size);
+void *erealloc(void *p, size_t size);
char *progname(void);
-void setprogname(const char *);
+void setprogname(const char *name);
#endif /* !EPRINTF_H */