summaryrefslogtreecommitdiff
path: root/src/core/swap.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-22 19:23:33 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-22 19:25:17 +0200
commit6b1dc2bd3cdb3bd932b0692be636ddd2879edb92 (patch)
tree2103f7daf0619c14f8da9be956f4ddbbe9309d51 /src/core/swap.h
parent745e2fb79ab20f3e98310d5e889a161ffe8b492c (diff)
mount: replace PID1 internal fstab parser with generator
Bit by bit we should remove non-unit parsing from PID 1 and move into generators, to clean up our code base a bit and clearly separate parsers.
Diffstat (limited to 'src/core/swap.h')
-rw-r--r--src/core/swap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/swap.h b/src/core/swap.h
index 2a6fceece2..ff12169b68 100644
--- a/src/core/swap.h
+++ b/src/core/swap.h
@@ -71,11 +71,9 @@ struct Swap {
char *what;
- SwapParameters parameters_etc_fstab;
SwapParameters parameters_proc_swaps;
SwapParameters parameters_fragment;
- bool from_etc_fstab:1;
bool from_proc_swaps:1;
bool from_fragment:1;
@@ -108,8 +106,6 @@ struct Swap {
extern const UnitVTable swap_vtable;
-int swap_add_one(Manager *m, const char *what, const char *what_proc_swaps, int prio, bool no_auto, bool no_fail, bool set_flags);
-
int swap_add_one_mount_link(Swap *s, Mount *m);
int swap_dispatch_reload(Manager *m);