diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-10 03:22:16 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-10 15:06:24 +0900 |
commit | bc52801034e9e33d7aab0cb64c84f64cd9d4c035 (patch) | |
tree | 50a9d289982a0c943d572f112026627e3378262a /src | |
parent | eb29296937b268e0140a2ab1cf204c2ebb72fa5a (diff) | |
download | systemd-bc52801034e9e33d7aab0cb64c84f64cd9d4c035.tar.gz |
tree-wide: drop _pure_ attribute from non-pure functions
Prompted by #27595.
Follow-ups for 6723c28f36ea566faf61d3610012cd89f95ee4a0.
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/hash-funcs.h | 2 | ||||
-rw-r--r-- | src/core/job.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/hash-funcs.h b/src/basic/hash-funcs.h index c14302ec72..be64289252 100644 --- a/src/basic/hash-funcs.h +++ b/src/basic/hash-funcs.h @@ -102,7 +102,7 @@ extern const struct hash_ops uint64_hash_ops; /* On some archs dev_t is 32bit, and on others 64bit. And sometimes it's 64bit on 32bit archs, and sometimes 32bit on * 64bit archs. Yuck! */ #if SIZEOF_DEV_T != 8 -void devt_hash_func(const dev_t *p, struct siphash *state) _pure_; +void devt_hash_func(const dev_t *p, struct siphash *state); #else #define devt_hash_func uint64_hash_func #endif diff --git a/src/core/job.h b/src/core/job.h index df35e2a5b6..dcb5c7fff6 100644 --- a/src/core/job.h +++ b/src/core/job.h @@ -220,7 +220,7 @@ char *job_dbus_path(Job *j); void job_shutdown_magic(Job *j); -int job_get_timeout(Job *j, usec_t *timeout) _pure_; +int job_get_timeout(Job *j, usec_t *timeout); bool job_may_gc(Job *j); void job_add_to_gc_queue(Job *j); |