mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
core/execute: mark exec_context_fdname() as pure
This commit is contained in:
@@ -518,7 +518,7 @@ void exec_context_dump(const ExecContext *c, FILE* f, const char *prefix);
|
||||
int exec_context_destroy_runtime_directory(const ExecContext *c, const char *runtime_root);
|
||||
int exec_context_destroy_mount_ns_dir(Unit *u);
|
||||
|
||||
const char* exec_context_fdname(const ExecContext *c, int fd_index);
|
||||
const char* exec_context_fdname(const ExecContext *c, int fd_index) _pure_;
|
||||
|
||||
bool exec_context_may_touch_console(const ExecContext *c);
|
||||
bool exec_context_maintains_privileges(const ExecContext *c);
|
||||
|
||||
Reference in New Issue
Block a user