From ceee6d3a44a81bcf42b21b777302a226422b11a1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Oct 2015 00:50:14 +0100 Subject: process-util: move PID related macros from macro.h to process-util.h --- src/basic/macro.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/basic/macro.h') 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))) -- cgit v1.2.3-54-g00ecf