chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / core / dbus-snapshot.h
index fea13872aa0297f44f43482fda0a1348bea70d12..1208aafff637cf44d7b56100ca2e5257683c4546 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foodbussnapshothfoo
-#define foodbussnapshothfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -29,5 +28,3 @@
 DBusHandlerResult bus_snapshot_message_handler(Unit *u, DBusConnection *c, DBusMessage *message);
 
 extern const char bus_snapshot_interface[];
-
-#endif