basic: split out blockdev-util.[ch] from util.h

With three functions it makes sense to split this out now.
This commit is contained in:
Lennart Poettering
2017-12-25 11:48:21 +01:00
parent 0adc28ceec
commit 18c528e99f
12 changed files with 249 additions and 182 deletions
-5
View File
@@ -71,8 +71,6 @@ bool plymouth_running(void);
bool display_is_local(const char *display) _pure_;
int socket_from_display(const char *display, char **path);
int block_get_whole_disk(dev_t d, dev_t *ret);
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)
@@ -191,6 +189,3 @@ uint64_t system_tasks_max_scale(uint64_t v, uint64_t max);
int update_reboot_parameter_and_warn(const char *param);
int version(void);
int get_block_device(const char *path, dev_t *dev);
int get_block_device_harder(const char *path, dev_t *dev);