X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fpath.h;h=645feef19176a3d745c5074a0f2516b6ebf11895;hb=8b55b8c4e7fce5e05dcfd783a37fb843d1bf1868;hp=1b4d0d49d4deca7f51626853f9e191c7d1395688;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/core/path.h b/src/core/path.h index 1b4d0d49d..645feef19 100644 --- a/src/core/path.h +++ b/src/core/path.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foopathhfoo -#define foopathhfoo +#pragma once /*** 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); +void path_free_specs(Path *p); + 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); - -#endif