chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use #pragma once instead of foo*foo #define guards
[elogind.git]
/
src
/
shared
/
unit-name.h
diff --git
a/src/shared/unit-name.h
b/src/shared/unit-name.h
index c6c09dd31feb5136680594b649f1cb6d2e5c699d..f899f865285c3fea38119fd35baafd05287b2a33 100644
(file)
--- a/
src/shared/unit-name.h
+++ b/
src/shared/unit-name.h
@@
-1,7
+1,6
@@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foounitnamehfoo
-#define foounitnamehfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-92,5
+91,3
@@
char *unit_name_to_path(const char *name);
char *unit_dbus_path_from_name(const char *name);
char *unit_name_mangle(const char *name);
char *unit_dbus_path_from_name(const char *name);
char *unit_name_mangle(const char *name);
-
-#endif