chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: add a bit of syntactic sugar to run short code fragments with a different umask
[elogind.git]
/
src
/
core
/
path.h
diff --git
a/src/core/path.h
b/src/core/path.h
index 1b4d0d49d4deca7f51626853f9e191c7d1395688..645feef19176a3d745c5074a0f2516b6ebf11895 100644
(file)
--- a/
src/core/path.h
+++ b/
src/core/path.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 foopathhfoo
-#define foopathhfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-99,6
+98,8
@@
void path_unit_notify(Unit *u, UnitActiveState new_state);
* any of the paths of this path object */
int path_add_one_mount_link(Path *p, Mount *m);
* any of the paths of this path object */
int path_add_one_mount_link(Path *p, Mount *m);
+void path_free_specs(Path *p);
+
extern const UnitVTable path_vtable;
const char* path_state_to_string(PathState i);
extern const UnitVTable path_vtable;
const char* path_state_to_string(PathState i);
@@
-109,5
+110,3
@@
PathType path_type_from_string(const char *s);
const char* path_result_to_string(PathResult i);
PathResult path_result_from_string(const char *s);
const char* path_result_to_string(PathResult i);
PathResult path_result_from_string(const char *s);
-
-#endif