chiark / gitweb /
unit: rework trigger dependency logic
[elogind.git] / src / core / automount.h
index 5704502ef70a3bdfb3c627740250e2e49d8e723a..8276051352fe09775cba51404eaf6320bbd0dcf7 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef fooautomounthfoo
-#define fooautomounthfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -49,8 +48,6 @@ struct Automount {
 
         char *where;
 
-        UnitRef mount;
-
         int pipe_fd;
         mode_t directory_mode;
         Watch pipe_watch;
@@ -72,5 +69,3 @@ AutomountState automount_state_from_string(const char *s);
 
 const char* automount_result_to_string(AutomountResult i);
 AutomountResult automount_result_from_string(const char *s);
-
-#endif