aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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