diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-03-19 16:15:36 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-03-19 16:15:36 +0100 |
| commit | b225b477d3f6e110bf61ccd88e4ad176504e36b0 (patch) | |
| tree | a359958930d731e9f1b59344642e10754419fe84 /shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h | |
| parent | dd428301eb6f02542015121d7b08d9997f137e50 (diff) | |
New upstream version 1.16.0
Diffstat (limited to 'shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h')
| -rw-r--r-- | shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h b/shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h index 06008ce8..b10722d7 100644 --- a/shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h +++ b/shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h @@ -111,9 +111,10 @@ raw_getpid (void) { #endif } -static inline pid_t gettid(void) { +static inline pid_t _nm_gettid(void) { return (pid_t) syscall(SYS_gettid); } +#define gettid() _nm_gettid () /* we build with C11 and thus <uchar.h> provides char32_t,char16_t. */ #define HAVE_CHAR32_T 1 |