diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 20:47:35 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 20:47:35 +0100 |
commit | 2bb6d61eb241923fed046db8cd109143802c7798 (patch) | |
tree | 48f696417cd3e141ac11db91e474d28d8f55a9b6 | |
parent | m (diff) | |
download | libhaiku-2bb6d61eb241923fed046db8cd109143802c7798.tar.gz libhaiku-2bb6d61eb241923fed046db8cd109143802c7798.tar.bz2 libhaiku-2bb6d61eb241923fed046db8cd109143802c7798.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r-- | src/libhaiku.c | 3 | ||||
-rw-r--r-- | src/libhaiku.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libhaiku.c b/src/libhaiku.c index 5237b6f..71f4b00 100644 --- a/src/libhaiku.c +++ b/src/libhaiku.c @@ -88,8 +88,7 @@ static const char * random_haiku(const char *str, ... /*, NULL */) * @param s The argument to pass to `perror` in case we call back to it. * `NULL` if you never what `perror` to be used. */ -void -haiku(const char *s) +void libhaiku_perror(const char *s) { #define H(...) do { fprintf(stderr, "%s", random_haiku(__VA_ARGS__, NULL)); return; } while (0) diff --git a/src/libhaiku.h b/src/libhaiku.h index aebc0b2..5cb26ef 100644 --- a/src/libhaiku.h +++ b/src/libhaiku.h @@ -26,7 +26,7 @@ * @param s The argument to pass to `perror` in case we call back to it. * `NULL` if you never what `perror` to be used. */ -void haiku(const char *s); +void libhaiku_perror(const char *s); #endif |