chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some unused variables
[elogind.git]
/
src
/
shared
/
install.c
diff --git
a/src/shared/install.c
b/src/shared/install.c
index 2c119e2dcad2b8697cf741c92aa6cdb9568640d6..100ed69744ad4f8383b13bb666743f843b838854 100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-922,6
+922,7
@@
static int config_parse_also(const char *unit,
const char *filename,
unsigned line,
const char *section,
const char *filename,
unsigned line,
const char *section,
+ unsigned section_line,
const char *lvalue,
int ltype,
const char *rvalue,
const char *lvalue,
int ltype,
const char *rvalue,
@@
-957,6
+958,7
@@
static int config_parse_user(const char *unit,
const char *filename,
unsigned line,
const char *section,
const char *filename,
unsigned line,
const char *section,
+ unsigned section_line,
const char *lvalue,
int ltype,
const char *rvalue,
const char *lvalue,
int ltype,
const char *rvalue,
@@
-1562,6
+1564,7
@@
int unit_file_set_default(
UnitFileScope scope,
const char *root_dir,
const char *file,
UnitFileScope scope,
const char *root_dir,
const char *file,
+ bool force,
UnitFileChange **changes,
unsigned *n_changes) {
UnitFileChange **changes,
unsigned *n_changes) {
@@
-1599,7
+1602,7
@@
int unit_file_set_default(
path = strappenda(config_path, "/" SPECIAL_DEFAULT_TARGET);
path = strappenda(config_path, "/" SPECIAL_DEFAULT_TARGET);
- r = create_symlink(i->path, path,
tru
e, changes, n_changes);
+ r = create_symlink(i->path, path,
forc
e, changes, n_changes);
if (r < 0)
return r;
if (r < 0)
return r;