summaryrefslogtreecommitdiff
path: root/src/libudev/path-util.h
diff options
context:
space:
mode:
authorEric Le Bihan <eric.le.bihan.dev@free.fr>2014-04-02 11:51:40 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-04-04 13:36:54 -0400
commitc4c265804080234bd1fd47f8c5bf9e58aeca677a (patch)
treede048069ccc57f695566ed762bd47b4be9198e41 /src/libudev/path-util.h
parenta1a5424a623eabb11da4aa5d4614f3c5bf22ff82 (diff)
libudev: Fix redefinition of usec_t and nsec_t.
The type definitions usec_t and nsec_t where defined twice: in path-util.h and util.h. time-util.h and time-util.c now gather the time-related functions and definitions (as in upstream systemd). Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/path-util.h')
-rw-r--r--src/libudev/path-util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libudev/path-util.h b/src/libudev/path-util.h
index eea7589d00..8e55131093 100644
--- a/src/libudev/path-util.h
+++ b/src/libudev/path-util.h
@@ -18,10 +18,8 @@
***/
#include <stdbool.h>
-#include <inttypes.h>
-typedef uint64_t usec_t;
-typedef uint64_t nsec_t;
+#include "time-util.h"
char* path_get_file_name(const char *p) _pure_;
int path_get_parent(const char *path, char **parent);