mount-util: move fstype_is_network() and name_to_handle_at() definitions over

This commit is contained in:
Lennart Poettering
2015-10-27 13:45:53 +01:00
parent 5e524b404b
commit 4e036b7a96
8 changed files with 42 additions and 32 deletions
-8
View File
@@ -66,8 +66,6 @@ static inline const char* one_zero(bool b) {
return b ? "1" : "0";
}
bool fstype_is_network(const char *fstype);
noreturn void freeze(void);
void execute_directories(const char* const* directories, usec_t timeout, char *argv[]);
@@ -202,12 +200,6 @@ const char *personality_to_string(unsigned long);
uint64_t physical_memory(void);
union file_handle_union {
struct file_handle handle;
char padding[sizeof(struct file_handle) + MAX_HANDLE_SZ];
};
#define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ }
int update_reboot_param_file(const char *param);
#define INOTIFY_EVENT_MAX (sizeof(struct inotify_event) + NAME_MAX + 1)