fork-journal: use char* const* for strv input param

This is compatible with char** and is what I originally
asked for in
https://github.com/systemd/systemd/pull/36858#discussion_r2086792739
Someone needs to read better ;-)
This commit is contained in:
Mike Yuan
2025-05-13 23:01:23 +02:00
parent c49c2477a4
commit b86b1ca22f
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -6,6 +6,6 @@
#include "runtime-scope.h"
#include "set.h"
int journal_fork(RuntimeScope scope, const char * const *units, PidRef *ret_pidref);
int journal_fork(RuntimeScope scope, char * const *units, PidRef *ret_pidref);
void journal_terminate(PidRef *pidref);