summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-12 10:58:31 +0100
committerRoy Marples <roy@marples.name>2020-05-12 10:58:31 +0100
commitb5672cc1ac480308cdb0942cd1880dd13b5039ae (patch)
tree92b069fbc20da9668a5bd0bae113d4571f213530 /src/privsep-root.h
parentcf85354d04d98ba2117ac413edd97a46cda05293 (diff)
downloaddhcpcd-b5672cc1ac480308cdb0942cd1880dd13b5039ae.tar.xz
Fix compile warnings with prior.
Diffstat (limited to 'src/privsep-root.h')
-rw-r--r--src/privsep-root.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privsep-root.h b/src/privsep-root.h
index a5fdb252..d1a1b54b 100644
--- a/src/privsep-root.h
+++ b/src/privsep-root.h
@@ -37,7 +37,7 @@ int ps_root_stop(struct dhcpcd_ctx *ctx);
ssize_t ps_root_readerror(struct dhcpcd_ctx *, void *, size_t);
ssize_t ps_root_ioctl(struct dhcpcd_ctx *, ioctl_request_t, void *, size_t);
ssize_t ps_root_unlink(struct dhcpcd_ctx *, const char *);
-int ps_root_filemtime(struct dhcpcd_ctx *, const char *, time_t *);
+ssize_t ps_root_filemtime(struct dhcpcd_ctx *, const char *, time_t *);
ssize_t ps_root_readfile(struct dhcpcd_ctx *, const char *, void *, size_t);
ssize_t ps_root_writefile(struct dhcpcd_ctx *, const char *, mode_t,
const void *, size_t);