chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / core / snapshot.h
index 9c63216421cbe0243660d9a33ae3cb93105e12aa..9662d93164ca5479b7606b30fa57f9c64530371c 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foosnapshothfoo
-#define foosnapshothfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -49,5 +48,3 @@ void snapshot_remove(Snapshot *s);
 
 const char* snapshot_state_to_string(SnapshotState i);
 SnapshotState snapshot_state_from_string(const char *s);
-
-#endif