diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-27 00:50:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:57 +0100 |
commit | ceee6d3a44a81bcf42b21b777302a226422b11a1 (patch) | |
tree | 5e21ad861b6f676fdb80a2ed9ce418de5fe8c043 /src/basic/macro.h | |
parent | ee104e11e303499a637c5cd8157bd12ad5cc116d (diff) | |
download | systemd-ceee6d3a44a81bcf42b21b777302a226422b11a1.tar.gz |
process-util: move PID related macros from macro.h to process-util.h
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r-- | src/basic/macro.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index eeb57ecb8e..44ae1f157a 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -295,9 +295,6 @@ static inline unsigned long ALIGN_POWER2(unsigned long u) { #define PTR_TO_SIZE(p) ((size_t) ((uintptr_t) (p))) #define SIZE_TO_PTR(u) ((void *) ((uintptr_t) (u))) -#define PTR_TO_PID(p) ((pid_t) ((uintptr_t) p)) -#define PID_TO_PTR(p) ((void*) ((uintptr_t) p)) - #define memzero(x,l) (memset((x), 0, (l))) #define zero(x) (memzero(&(x), sizeof(x))) |