aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 19:07:43 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 19:07:43 +0100
commitb37bab9abcaed4bec5ce808f3bb98d84164b66c6 (patch)
tree4bab8b898cbabe8f3c4e362a918cb76b9d1fbda8 /src/daemon.h
parentpwriten and preadn block signals (diff)
downloadsat-b37bab9abcaed4bec5ce808f3bb98d84164b66c6.tar.gz
sat-b37bab9abcaed4bec5ce808f3bb98d84164b66c6.tar.bz2
sat-b37bab9abcaed4bec5ce808f3bb98d84164b66c6.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/daemon.h')
-rw-r--r--src/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.h b/src/daemon.h
index e2a3f40..7567a74 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -167,7 +167,7 @@ ssize_t preadn(int fildes, void *buf, size_t nbyte, size_t offset);
* @param offset See pwrite(3).
* @return See pwrite(3).
*/
-ssize_t pwriten(int fildes, void *buf, size_t nbyte, size_t offset);
+ssize_t pwriten(int fildes, const void *buf, size_t nbyte, size_t offset);
/**
* Wrapper for `read` that reads all available data.