aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhaiku.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-04 20:47:35 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-04 20:47:35 +0100
commit2bb6d61eb241923fed046db8cd109143802c7798 (patch)
tree48f696417cd3e141ac11db91e474d28d8f55a9b6 /src/libhaiku.c
parentm (diff)
downloadlibhaiku-2bb6d61eb241923fed046db8cd109143802c7798.tar.gz
libhaiku-2bb6d61eb241923fed046db8cd109143802c7798.tar.bz2
libhaiku-2bb6d61eb241923fed046db8cd109143802c7798.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/libhaiku.c')
-rw-r--r--src/libhaiku.c3
1 files changed, 1 insertions, 2 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)