summaryrefslogtreecommitdiffstats
path: root/text-utils/rev.c
diff options
context:
space:
mode:
authorSami Kerola2011-05-24 22:56:33 +0200
committerKarel Zak2011-06-01 09:07:52 +0200
commit66b0b03e05729036ea38b3804a188da06e1a8b8d (patch)
tree3529e7b41aee202baebe29e851666a7f1f49b12d /text-utils/rev.c
parentpg: use size_t for wcstombs() return code (diff)
downloadkernel-qcow2-util-linux-66b0b03e05729036ea38b3804a188da06e1a8b8d.tar.gz
kernel-qcow2-util-linux-66b0b03e05729036ea38b3804a188da06e1a8b8d.tar.xz
kernel-qcow2-util-linux-66b0b03e05729036ea38b3804a188da06e1a8b8d.zip
rev: mark signo unused in sig_handler
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/rev.c')
-rw-r--r--text-utils/rev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/rev.c b/text-utils/rev.c
index 6c1366d23..8a1666800 100644
--- a/text-utils/rev.c
+++ b/text-utils/rev.c
@@ -65,7 +65,7 @@
wchar_t *buf;
-static void sig_handler(int signo)
+static void sig_handler(int signo __attribute__ ((__unused__)))
{
free(buf);
_exit(EXIT_SUCCESS);