X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fsnapshot.h;h=f2451b11934d477215946b61a31c11ed53133964;hb=c43b2132f37264600cc26e07c8d85dfdd6c969f0;hp=2675b1b2429371c570ace4b669faecf78ce5e62b;hpb=a190eeb884840e1a431e22eee2c3b93c96ca7fa3;p=elogind.git diff --git a/src/core/snapshot.h b/src/core/snapshot.h index 2675b1b24..f2451b119 100644 --- a/src/core/snapshot.h +++ b/src/core/snapshot.h @@ -23,7 +23,6 @@ typedef struct Snapshot Snapshot; -#include "unit.h" typedef enum SnapshotState { SNAPSHOT_DEAD, @@ -42,7 +41,7 @@ struct Snapshot { extern const UnitVTable snapshot_vtable; -int snapshot_create(Manager *m, const char *name, bool cleanup, DBusError *e, Snapshot **s); +int snapshot_create(Manager *m, const char *name, bool cleanup, sd_bus_error *e, Snapshot **s); void snapshot_remove(Snapshot *s); const char* snapshot_state_to_string(SnapshotState i) _const_;