alloc-util: coding style fix

This commit is contained in:
Yu Watanabe 2017-11-28 18:11:58 +09:00
parent b39367a1a7
commit d40c54fe56
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);