summaryrefslogtreecommitdiff
path: root/src/basic/util.h
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-09-10 19:01:25 +0200
committerDaniel Mack <github@zonque.org>2015-09-10 19:01:25 +0200
commit786c5bf957f8f7b78c7a0999908ff822e712b53e (patch)
treed330ac099c5d75669ab5d8d21e880bc29521add8 /src/basic/util.h
parent15af581253a3f25a71d4fa723bf1fdd22f842728 (diff)
parente11d45682ed0ccdbdfe71a958718c836114a4610 (diff)
Merge pull request #1242 from poettering/no-off_t
Drop usage of off_t
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index 5fa44b5cf3..c7dff9a86d 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -152,7 +152,7 @@ void close_many(const int fds[], unsigned n_fd);
int fclose_nointr(FILE *f);
FILE* safe_fclose(FILE *f);
-int parse_size(const char *t, off_t base, off_t *size);
+int parse_size(const char *t, uint64_t base, uint64_t *size);
int parse_boolean(const char *v) _pure_;
int parse_pid(const char *s, pid_t* ret_pid);
@@ -478,7 +478,7 @@ bool kexec_loaded(void);
int prot_from_flags(int flags) _const_;
-char *format_bytes(char *buf, size_t l, off_t t);
+char *format_bytes(char *buf, size_t l, uint64_t t);
int fd_wait_for_event(int fd, int event, usec_t timeout);