Rename spawn-polkit-agent.c to just polkit-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 12:07:36 +02:00
parent 07748c53df
commit 1b919ca4db
15 changed files with 14 additions and 14 deletions

View file

@ -39,13 +39,13 @@
#include "path-util.h"
#include "percent-util.h"
#include "pkcs11-util.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "proc-cmdline.h"
#include "process-util.h"
#include "recurse-dir.h"
#include "rlimit-util.h"
#include "rm-rf.h"
#include "spawn-polkit-agent.h"
#include "terminal-util.h"
#include "tmpfile-util.h"
#include "uid-classification.h"

View file

@ -23,9 +23,9 @@
#include "hostname-util.h"
#include "main-func.h"
#include "parse-argument.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "socket-util.h"
#include "spawn-polkit-agent.h"
#include "terminal-util.h"
#include "verbs.h"

View file

@ -24,10 +24,10 @@
#include "parse-argument.h"
#include "parse-util.h"
#include "path-util.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "signal-util.h"
#include "sort-util.h"
#include "spawn-polkit-agent.h"
#include "string-table.h"
#include "verbs.h"
#include "web-util.h"

View file

@ -17,10 +17,10 @@
#include "main-func.h"
#include "memory-util.h"
#include "pager.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "proc-cmdline.h"
#include "set.h"
#include "spawn-polkit-agent.h"
#include "strv.h"
#include "terminal-util.h"
#include "verbs.h"

View file

@ -25,12 +25,12 @@
#include "pager.h"
#include "parse-argument.h"
#include "parse-util.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "process-util.h"
#include "rlimit-util.h"
#include "sigbus.h"
#include "signal-util.h"
#include "spawn-polkit-agent.h"
#include "string-table.h"
#include "strv.h"
#include "sysfs-show.h"

View file

@ -47,6 +47,7 @@
#include "parse-argument.h"
#include "parse-util.h"
#include "path-util.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "process-util.h"
#include "ptyfwd.h"
@ -55,7 +56,6 @@
#include "signal-util.h"
#include "sort-util.h"
#include "spawn-ask-password-agent.h"
#include "spawn-polkit-agent.h"
#include "stdio-util.h"
#include "string-table.h"
#include "strv.h"

View file

@ -28,10 +28,10 @@
#include "parse-argument.h"
#include "parse-util.h"
#include "path-util.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "process-util.h"
#include "sort-util.h"
#include "spawn-polkit-agent.h"
#include "stat-util.h"
#include "strv.h"
#include "terminal-util.h"

View file

@ -26,9 +26,9 @@
#include "parse-argument.h"
#include "parse-util.h"
#include "path-util.h"
#include "polkit-agent.h"
#include "portable.h"
#include "pretty-print.h"
#include "spawn-polkit-agent.h"
#include "string-util.h"
#include "strv.h"
#include "terminal-util.h"

View file

@ -30,11 +30,11 @@
#include "parse-argument.h"
#include "parse-util.h"
#include "path-util.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "process-util.h"
#include "ptyfwd.h"
#include "signal-util.h"
#include "spawn-polkit-agent.h"
#include "special.h"
#include "strv.h"
#include "terminal-util.h"

View file

@ -12,10 +12,10 @@
#include "argv-util.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 "spawn-polkit-agent.h"
#include "static-destruct.h"
#define _DEFINE_MAIN_FUNCTION(intro, impl, result_to_exit_status, result_to_return_value) \

View file

@ -140,6 +140,7 @@ shared_sources = files(
'pe-binary.c',
'pkcs11-util.c',
'plymouth-util.c',
'polkit-agent.c',
'pretty-print.c',
'capsule-util.c',
'ptyfwd.c',
@ -160,7 +161,6 @@ shared_sources = files(
'socket-label.c',
'socket-netlink.c',
'spawn-ask-password-agent.c',
'spawn-polkit-agent.c',
'specifier.c',
'switch-root.c',
'tmpfile-util-label.c',

View file

@ -11,8 +11,8 @@
#include "io-util.h"
#include "log.h"
#include "macro.h"
#include "polkit-agent.h"
#include "process-util.h"
#include "spawn-polkit-agent.h"
#include "stdio-util.h"
#include "time-util.h"

View file

@ -19,11 +19,11 @@
#include "macro.h"
#include "path-util.h"
#include "pidref.h"
#include "polkit-agent.h"
#include "process-util.h"
#include "reboot-util.h"
#include "set.h"
#include "spawn-ask-password-agent.h"
#include "spawn-polkit-agent.h"
#include "stat-util.h"
#include "systemctl-util.h"
#include "systemctl.h"

View file

@ -19,9 +19,9 @@
#include "main-func.h"
#include "pager.h"
#include "parse-util.h"
#include "polkit-agent.h"
#include "pretty-print.h"
#include "sparse-endian.h"
#include "spawn-polkit-agent.h"
#include "string-table.h"
#include "strv.h"
#include "terminal-util.h"