chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: two more log_unit_*_errno() conversions
[elogind.git]
/
src
/
core
/
target.h
diff --git
a/src/core/target.h
b/src/core/target.h
index 62bc34382bb7b825155adc4c00af0a070f9a627e..a5398d9e9828278c9085ececdec6e3217fcc21bc 100644
(file)
--- a/
src/core/target.h
+++ b/
src/core/target.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 footargethfoo
-#define footargethfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-41,7
+40,5
@@
struct Target {
extern const UnitVTable target_vtable;
extern const UnitVTable target_vtable;
-const char* target_state_to_string(TargetState i);
-TargetState target_state_from_string(const char *s);
-
-#endif
+const char* target_state_to_string(TargetState i) _const_;
+TargetState target_state_from_string(const char *s) _pure_;