aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhaiku.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-04 23:07:47 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-04 23:07:47 +0100
commitde3bbda38a6b88e37471809d6844e82e6ca91869 (patch)
tree2b17d13f0b4b4402c901be1622891119ea0f452a /src/libhaiku.c
parentm (diff)
downloadlibhaiku-de3bbda38a6b88e37471809d6844e82e6ca91869.tar.gz
libhaiku-de3bbda38a6b88e37471809d6844e82e6ca91869.tar.bz2
libhaiku-de3bbda38a6b88e37471809d6844e82e6ca91869.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/libhaiku.c')
-rw-r--r--src/libhaiku.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libhaiku.c b/src/libhaiku.c
index fe953b4..07cccd9 100644
--- a/src/libhaiku.c
+++ b/src/libhaiku.c
@@ -59,7 +59,7 @@ static int random_int(int n)
#ifdef __GNUC__
__attribute__((__sentinel__))
#endif
-static const char * random_haiku(const char *str, ... /*, NULL */)
+static const char* random_haiku(const char* str, ... /*, NULL */)
{
int n = 1;
const char *s = str;
@@ -88,7 +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 libhaiku_perror(const char *s)
+void libhaiku_perror(const char* s)
{
#define H(...) do { fprintf(stderr, "%s", random_haiku(__VA_ARGS__, NULL)); return; } while (0)