Rename spawn-ask-password-agent.c to just ask-password-agent.c

The functions in the file were *not* using the spawn prefix,
and the prefix seems completely unnecessary.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2024-06-26 15:04:06 +02:00
parent 1b919ca4db
commit a8c3ed5f13
6 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -14,6 +14,7 @@
#include "sd-bus.h"
#include "alloc-util.h"
#include "ask-password-agent.h"
#include "build.h"
#include "build-path.h"
#include "bus-common-errors.h"
@@ -55,7 +56,6 @@
#include "sigbus.h"
#include "signal-util.h"
#include "sort-util.h"
#include "spawn-ask-password-agent.h"
#include "stdio-util.h"
#include "string-table.h"
#include "strv.h"
@@ -4,10 +4,10 @@
#include <stdlib.h>
#include <unistd.h>
#include "ask-password-agent.h"
#include "exec-util.h"
#include "log.h"
#include "process-util.h"
#include "spawn-ask-password-agent.h"
static pid_t agent_pid = 0;
+1 -1
View File
@@ -10,12 +10,12 @@
#include "sd-daemon.h"
#include "argv-util.h"
#include "ask-password-agent.h"
#include "hashmap.h"
#include "pager.h"
#include "polkit-agent.h"
#include "selinux-util.h"
#include "signal-util.h"
#include "spawn-ask-password-agent.h"
#include "static-destruct.h"
#define _DEFINE_MAIN_FUNCTION(intro, impl, result_to_exit_status, result_to_return_value) \
+1 -1
View File
@@ -4,6 +4,7 @@ shared_sources = files(
'acl-util.c',
'acpi-fpdt.c',
'apparmor-util.c',
'ask-password-agent.c',
'ask-password-api.c',
'async.c',
'barrier.c',
@@ -160,7 +161,6 @@ shared_sources = files(
'smbios11.c',
'socket-label.c',
'socket-netlink.c',
'spawn-ask-password-agent.c',
'specifier.c',
'switch-root.c',
'tmpfile-util-label.c',
+1 -1
View File
@@ -6,6 +6,7 @@
#include "sd-bus.h"
#include "sd-daemon.h"
#include "ask-password-agent.h"
#include "bus-common-errors.h"
#include "bus-locator.h"
#include "bus-map-properties.h"
@@ -23,7 +24,6 @@
#include "process-util.h"
#include "reboot-util.h"
#include "set.h"
#include "spawn-ask-password-agent.h"
#include "stat-util.h"
#include "systemctl-util.h"
#include "systemctl.h"