summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-08-22 16:01:08 +0000
committerStefan Bühler <stbuehler@web.de>2015-08-22 16:01:08 +0000
commit0508bf674e69cd6cf51fd1dc9c455a99ef1c861d (patch)
tree411419fefe0d54c33fe70297e6b1caaa5d52ddcc /src/log.h
parent10f1490fb149ded95126462afb186635fe83733a (diff)
downloadlighttpd-git-0508bf674e69cd6cf51fd1dc9c455a99ef1c861d.tar.gz
fix some unchecked return value warnings
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3015 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
index 7e924306..6cc2cfb0 100644
--- a/src/log.h
+++ b/src/log.h
@@ -3,6 +3,8 @@
#include "server.h"
+ssize_t write_all(int fd, const void* buf, size_t count);
+
/* Close fd and _try_ to get a /dev/null for it instead.
* Returns 0 on success and -1 on failure (fd gets closed in all cases)
*/