From c3ab362dad74ce4a46e312a685eb7ba4ad25c141 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Apr 2024 23:28:21 +0200 Subject: [PATCH] manager: comprehensively mark manager_dispatch_user_lookup_fd() as static The prototype was static, but the implementation was not. Make both static, this is otherwise too confusing. (This doesn't actually change anything, since the prototype decides about this anyway, but it makes things easier to read.) --- src/core/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c index ebaf33bc5f6..42801c2b46e 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -4755,7 +4755,7 @@ static void manager_vacuum(Manager *m) { exec_shared_runtime_vacuum(m); } -int manager_dispatch_user_lookup_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata) { +static int manager_dispatch_user_lookup_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata) { struct buffer { uid_t uid; gid_t gid; -- 2.47.3