X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fdbus-common.h;fp=src%2Fshared%2Fdbus-common.h;h=a6703a78d06da2305830806de0f7237ba54cb72b;hb=c2f1db8f83618e60dcded8303d14656d7d26b436;hp=9ae35df9c515376edc38756604f9d4f39e485b17;hpb=4a842cadb8d6b30fa9fdc8ff183633c14e02cf96;p=elogind.git diff --git a/src/shared/dbus-common.h b/src/shared/dbus-common.h index 9ae35df9c..a6703a78d 100644 --- a/src/shared/dbus-common.h +++ b/src/shared/dbus-common.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foodbuscommonhfoo -#define foodbuscommonhfoo +#pragma once /*** This file is part of systemd. @@ -204,5 +203,3 @@ void bus_async_unregister_and_exit(DBusConnection *bus, const char *name); DBusHandlerResult bus_exit_idle_filter(DBusConnection *bus, DBusMessage *m, void *userdata); pid_t bus_get_unix_process_id(DBusConnection *connection, const char *name, DBusError *error); - -#endif