diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-03 13:22:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-04 09:07:30 +0200 |
commit | fea72cc0336f4d90875cdddc1aa9739dcbb174f5 (patch) | |
tree | 2df6cafa6b27564f452a8a2f2b9bfbc01d4b88b7 /src/core/dbus-slice.c | |
parent | a8ba86ce6a78f2bd80529e535af3494bf8297cfd (diff) |
macro: introduce new PID_TO_PTR macros and make use of them
This adds a new PID_TO_PTR() macro, plus PTR_TO_PID() and makes use of
it wherever we maintain processes in a hash table. Previously we
sometimes used LONG_TO_PTR() and other times ULONG_TO_PTR() for that,
hence let's make this more explicit and clean up things.
Diffstat (limited to 'src/core/dbus-slice.c')
0 files changed, 0 insertions, 0 deletions