diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2021-08-25 15:24:42 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2021-08-25 15:24:42 +0200 |
| commit | dbb91282fa488964fb20595f9494a9f0e4f36a58 (patch) | |
| tree | 142bc942e5320b35514cdf03a5f9f47a9b89df0e /src/libnm-systemd-shared | |
| parent | 5f2ede3a2813b0e9204befdcfc67509d34be71c6 (diff) | |
| parent | cfb80376641fa49137b9996130352697e7f8b436 (diff) | |
Update upstream source from tag 'upstream/1.32.10'
Update to upstream version '1.32.10' with Debian dir fcf2778b50b013ede3e7375bc1d829e984175658
Diffstat (limited to 'src/libnm-systemd-shared')
| -rw-r--r-- | src/libnm-systemd-shared/sd-adapt-shared/nm-sd-adapt-shared.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libnm-systemd-shared/sd-adapt-shared/nm-sd-adapt-shared.h b/src/libnm-systemd-shared/sd-adapt-shared/nm-sd-adapt-shared.h index 9d4669c3..2f6188dc 100644 --- a/src/libnm-systemd-shared/sd-adapt-shared/nm-sd-adapt-shared.h +++ b/src/libnm-systemd-shared/sd-adapt-shared/nm-sd-adapt-shared.h @@ -75,12 +75,7 @@ raw_getpid(void) #endif } -static inline pid_t -_nm_gettid(void) -{ - return (pid_t) syscall(SYS_gettid); -} - #define gettid() _nm_gettid() + #define gettid() nm_utils_gettid() /* we build with C11 and thus <uchar.h> provides char32_t,char16_t. */ #define HAVE_CHAR32_T 1 |