chiark / gitweb /
fix typo: s/seperat/separat/g
[elogind.git] / src / util.h
index 7ea163f2141e4c9ddda2b688a2308635fd744e5a..f21aecf256e7219a533648da732c62fe7572945a 100644 (file)
@@ -73,6 +73,8 @@ usec_t now(clockid_t clock);
 
 dual_timestamp* dual_timestamp_get(dual_timestamp *ts);
 
+#define dual_timestamp_is_set(ts) ((ts)->realtime > 0)
+
 usec_t timespec_load(const struct timespec *ts);
 struct timespec *timespec_store(struct timespec *ts, usec_t u);
 
@@ -189,7 +191,7 @@ int write_one_line_file(const char *fn, const char *line);
 int read_one_line_file(const char *fn, char **line);
 int read_full_file(const char *fn, char **contents);
 
-int parse_env_file(const char *fname, const char *seperator, ...) _sentinel_;
+int parse_env_file(const char *fname, const char *separator, ...) _sentinel_;
 
 char *strappend(const char *s, const char *suffix);
 char *strnappend(const char *s, const char *suffix, size_t length);