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:
parent
b39367a1a7
commit
d40c54fe56
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user