chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / core / target.h
index 62bc34382bb7b825155adc4c00af0a070f9a627e..1676553add93e7cdb126eb86f4e4fb925a0ca89a 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef footargethfoo
-#define footargethfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -43,5 +42,3 @@ extern const UnitVTable target_vtable;
 
 const char* target_state_to_string(TargetState i);
 TargetState target_state_from_string(const char *s);
-
-#endif