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
/
core
/
snapshot.h
diff --git
a/src/core/snapshot.h
b/src/core/snapshot.h
index 9c63216421cbe0243660d9a33ae3cb93105e12aa..9662d93164ca5479b7606b30fa57f9c64530371c 100644
(file)
--- a/
src/core/snapshot.h
+++ b/
src/core/snapshot.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 foosnapshothfoo
-#define foosnapshothfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-49,5
+48,3
@@
void snapshot_remove(Snapshot *s);
const char* snapshot_state_to_string(SnapshotState i);
SnapshotState snapshot_state_from_string(const char *s);
const char* snapshot_state_to_string(SnapshotState i);
SnapshotState snapshot_state_from_string(const char *s);
-
-#endif