diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-01-11 20:21:43 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-11 20:21:43 -0500 |
commit | 9df52d1915b56d5d83cacf834b02d98dadf3bb2e (patch) | |
tree | 994e8b8db64f1f4a875bf875a7f8ce8a2d4057fb /src/libudev/path-util.h | |
parent | 1e60f44be995edf571ece7a11dac2a7333d47096 (diff) |
src/udev/path-util.[ch]: remove duplicates
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/path-util.h')
-rw-r--r-- | src/libudev/path-util.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/libudev/path-util.h b/src/libudev/path-util.h index 653ae8d7c8..0b7577ff4f 100644 --- a/src/libudev/path-util.h +++ b/src/libudev/path-util.h @@ -1,9 +1,5 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - -#pragma once - /*** - This file is part of systemd. + This file is part of eudev, forked from systemd. Copyright 2010-2012 Lennart Poettering @@ -22,6 +18,10 @@ ***/ #include <stdbool.h> +#include <inttypes.h> + +typedef uint64_t usec_t; +typedef uint64_t nsec_t; char* path_get_file_name(const char *p) _pure_; int path_get_parent(const char *path, char **parent); @@ -35,3 +35,5 @@ char** path_strv_canonicalize(char **l); char** path_strv_canonicalize_uniq(char **l); int path_is_mount_point(const char *path, bool allow_symlink); + +bool paths_check_timestamp(char **paths, usec_t *paths_ts_usec, bool update); |