mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
tree-wide: drop _pure_ attribute from non-pure functions
Prompted by #27595.
Follow-ups for 6723c28f36.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user