chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-journal: check if the pointers passed are the same
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 0bcda48b6d7c50a9a02e5eb8116d8ee54188590b..64e63b8c0764ca69ce56f02e0473e5118606ba35 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-411,7
+411,7
@@
bool nulstr_contains(const char*nulstr, const char *needle);
bool plymouth_running(void);
bool hostname_is_valid(const char *s) _pure_;
bool plymouth_running(void);
bool hostname_is_valid(const char *s) _pure_;
-char* hostname_cleanup(char *s);
+char* hostname_cleanup(char *s
, bool lowercase
);
char* strshorten(char *s, size_t l);
char* strshorten(char *s, size_t l);
@@
-513,9
+513,6
@@
int setrlimit_closest(int resource, const struct rlimit *rlim);
int getenv_for_pid(pid_t pid, const char *field, char **_value);
int getenv_for_pid(pid_t pid, const char *field, char **_value);
-int can_sleep(const char *type);
-int can_sleep_disk(const char *type);
-
bool is_valid_documentation_url(const char *url) _pure_;
bool in_initrd(void);
bool is_valid_documentation_url(const char *url) _pure_;
bool in_initrd(void);