chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / shared / log.h
index 59d4c00f7d71d542944870e05da28007ee4c81d3..c986b2579d7cff2f837286983cc7cadfb682ca26 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foologhfoo
-#define foologhfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -108,5 +107,3 @@ int log_dump_internal(
 
 const char *log_target_to_string(LogTarget target);
 LogTarget log_target_from_string(const char *s);
-
-#endif