diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-14 20:02:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-14 20:02:52 +0200 |
commit | 424a19f8a2061c6b058283228734010b2fa24db4 (patch) | |
tree | 56b06b85c96832a319657006c660625d304c1df8 /src/shared/path-util.h | |
parent | 608da9e9b56be83ac394ea7a19cbdacab94f6642 (diff) |
timedate: assorted improvements
- Make writing/reading of /etc/timezone dependendent of HAVE_SYSV_COMPAT
- Introduce symlink_atomic() after all, and use it
- Use relative symlink for /etc/localtime
Diffstat (limited to 'src/shared/path-util.h')
-rw-r--r-- | src/shared/path-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/path-util.h b/src/shared/path-util.h index a441783b15..e81821a28f 100644 --- a/src/shared/path-util.h +++ b/src/shared/path-util.h @@ -32,7 +32,7 @@ bool path_is_absolute(const char *p); char *path_make_absolute(const char *p, const char *prefix); char *path_make_absolute_cwd(const char *p); char *path_kill_slashes(char *path); -bool path_startswith(const char *path, const char *prefix); +char *path_startswith(const char *path, const char *prefix); bool path_equal(const char *a, const char *b); char **path_strv_make_absolute_cwd(char **l); |