mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
install: fix wrong data type
This commit is contained in:
parent
a38c68a18a
commit
76fb53c94a
@ -254,7 +254,7 @@ static int path_is_vendor_or_generator(const LookupPaths *p, const char *path) {
|
||||
int unit_file_changes_add(
|
||||
UnitFileChange **changes,
|
||||
size_t *n_changes,
|
||||
UnitFileChangeType type,
|
||||
int type,
|
||||
const char *path,
|
||||
const char *source) {
|
||||
|
||||
|
@ -183,7 +183,7 @@ int unit_file_exists(UnitFileScope scope, const LookupPaths *paths, const char *
|
||||
int unit_file_get_list(UnitFileScope scope, const char *root_dir, Hashmap *h, char **states, char **patterns);
|
||||
Hashmap* unit_file_list_free(Hashmap *h);
|
||||
|
||||
int unit_file_changes_add(UnitFileChange **changes, size_t *n_changes, UnitFileChangeType type, const char *path, const char *source);
|
||||
int unit_file_changes_add(UnitFileChange **changes, size_t *n_changes, int type, const char *path, const char *source);
|
||||
void unit_file_changes_free(UnitFileChange *changes, size_t n_changes);
|
||||
void unit_file_dump_changes(int r, const char *verb, const UnitFileChange *changes, size_t n_changes, bool quiet);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user