tree-wide: drop _pure_ attribute from non-pure functions

Prompted by #27595.
Follow-ups for 6723c28f36.
This commit is contained in:
Yu Watanabe
2023-05-10 03:22:16 +09:00
parent eb29296937
commit bc52801034
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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);