1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00

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