chiark / gitweb /
swap: adjust swap.c in a similar way to what we just did to mount.c
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Sep 2017 17:53:19 +0000 (19:53 +0200)
committerSven Eden <yamakuzure@gmx.net>
Mon, 25 Sep 2017 17:53:19 +0000 (19:53 +0200)
commite433767f8bd01114b98fdda6a546fa17e716fa60
tree8e4c61e7d0086187ef1ce2c8cb4a1b8f1fafdd16
parentacb0dfc64a315e7bdd002c0a1da110e7008f42fd
swap: adjust swap.c in a similar way to what we just did to mount.c

Also drop the redundant states and make all similar changes too.
Thankfully the swap.c state engine is much simpler than mount.c's, hence
this should be easier to digest.
src/basic/unit-name.c
src/basic/unit-name.h