summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2011-10-11 11:27:06 +0200
committerLennart Poettering <lennart@poettering.net>2011-10-11 15:41:32 +0200
commitadda7d8b9715a5090d9189144828ef4d3f51348c (patch)
tree76d13fa9d98ff92b40ad517b1d7c81339fb0770d
parent62590f23c14d06e33bb1712a5e3cf04f12f189cb (diff)
pager: add _noreturn_ to pager_fallback()
src/pager.c: In function ‘pager_fallback’: src/pager.c:35:13: warning: function might be possible candidate for attribute ‘noreturn’ [-Wmissing-noreturn]
-rw-r--r--src/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pager.c b/src/pager.c
index 6e2bb4901e..3fc81820e9 100644
--- a/src/pager.c
+++ b/src/pager.c
@@ -32,7 +32,7 @@
static pid_t pager_pid = 0;
-static void pager_fallback(void) {
+_noreturn_ static void pager_fallback(void) {
ssize_t n;
do {
n = splice(STDIN_FILENO, NULL, STDOUT_FILENO, NULL, 64*1024, 0);