diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2011-10-11 11:27:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-10-11 15:41:32 +0200 |
commit | adda7d8b9715a5090d9189144828ef4d3f51348c (patch) | |
tree | 76d13fa9d98ff92b40ad517b1d7c81339fb0770d /src/pager.c | |
parent | 62590f23c14d06e33bb1712a5e3cf04f12f189cb (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]
Diffstat (limited to 'src/pager.c')
-rw-r--r-- | src/pager.c | 2 |
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); |