aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
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 '')
-rw-r--r--src/libhaiku.c3
-rw-r--r--src/libhaiku.h2
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