From de3bbda38a6b88e37471809d6844e82e6ca91869 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 4 Jan 2016 23:07:47 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libhaiku.c | 4 ++-- src/libhaiku.h | 2 +- 2 files changed, 3 insertions(+), 3 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) diff --git a/src/libhaiku.h b/src/libhaiku.h index 5cb26ef..ee2e781 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 libhaiku_perror(const char *s); +void libhaiku_perror(const char*); #endif -- cgit v1.2.3-70-g09d2