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 src/notify
[elogind.git]
/
src
/
test
/
test-install.c
diff --git
a/src/test/test-install.c
b/src/test/test-install.c
index b0f77a18f367ae0958ae5eb28ceddb3967f54b87..5ee52e64cb5ac0a271429d7523c6cc12e96c9b3a 100644
(file)
--- a/
src/test/test-install.c
+++ b/
src/test/test-install.c
@@
-19,19
+19,15
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
#include <stdio.h>
-#include <fcntl.h>
-#include "util.h"
-#include "path-util.h"
#include "install.h"
static void dump_changes(UnitFileChange *c, unsigned n) {
unsigned i;
#include "install.h"
static void dump_changes(UnitFileChange *c, unsigned n) {
unsigned i;
- assert(n == 0 || c);
+ assert
_se
(n == 0 || c);
for (i = 0; i < n; i++) {
if (c[i].type == UNIT_FILE_UNLINK)
for (i = 0; i < n; i++) {
if (c[i].type == UNIT_FILE_UNLINK)