diff options
author | Thomas Haller <thaller@redhat.com> | 2018-05-07 16:24:30 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-05-11 10:59:18 +0200 |
commit | f3648a4a2d04586ce3560dffbe4a457d0f67fbb3 (patch) | |
tree | 2a58eb14f2927846863b7e4b79279dc15bc883bc | |
parent | d74d566d85ccbd6d5db8d5a37f5cbe006412c595 (diff) | |
download | NetworkManager-f3648a4a2d04586ce3560dffbe4a457d0f67fbb3.tar.gz |
shared: add NM_PID_T_INVAL macro for invalid PIDs
-rw-r--r-- | shared/nm-utils/nm-macros-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/nm-utils/nm-macros-internal.h b/shared/nm-utils/nm-macros-internal.h index 72c1f807af..908b25fdbe 100644 --- a/shared/nm-utils/nm-macros-internal.h +++ b/shared/nm-utils/nm-macros-internal.h @@ -1375,4 +1375,6 @@ nm_close (int fd) return r; } +#define NM_PID_T_INVAL ((pid_t) -1) + #endif /* __NM_MACROS_INTERNAL_H__ */ |