From d40c54fe56db52857890ebbf9d8c9ffe82b8b66c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 28 Nov 2017 18:11:58 +0900 Subject: [PATCH] alloc-util: coding style fix --- src/basic/alloc-util.c | 2 +- src/basic/alloc-util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/alloc-util.c b/src/basic/alloc-util.c index 2584cb0..cdde4f2 100644 --- a/src/basic/alloc-util.c +++ b/src/basic/alloc-util.c @@ -38,7 +38,7 @@ void* memdup(const void *p, size_t l) { return ret; } -void* memdup_suffix0(const void*p, size_t l) { +void* memdup_suffix0(const void *p, size_t l) { void *ret; assert(l == 0 || p); diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h index 38d1546..02dee37 100644 --- a/src/basic/alloc-util.h +++ b/src/basic/alloc-util.h @@ -55,7 +55,7 @@ static inline void *mfree(void *memory) { }) void* memdup(const void *p, size_t l) _alloc_(2); -void* memdup_suffix0(const void*p, size_t l) _alloc_(2); +void* memdup_suffix0(const void *p, size_t l) _alloc_(2); static inline void freep(void *p) { free(*(void**) p); -- 2.7.4