X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fpath-util.h;h=ea0f1730826dbc6082ef522b87d695cc53d76dcb;hp=ff523943dce2ae463721856cebd18ef407c9f2f7;hb=6606089752df90f3eeb4924af109046f1c73554c;hpb=fabe5c0e5fce730aa66e10a9c4f9fdd443d7aeda;ds=sidebyside diff --git a/src/shared/path-util.h b/src/shared/path-util.h index ff523943d..ea0f17308 100644 --- a/src/shared/path-util.h +++ b/src/shared/path-util.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foopathutilhfoo -#define foopathutilhfoo +#pragma once /*** This file is part of systemd. @@ -41,5 +40,4 @@ char **path_strv_canonicalize_uniq(char **l); int path_is_mount_point(const char *path, bool allow_symlink); int path_is_read_only_fs(const char *path); - -#endif +int path_is_os_tree(const char *path);