]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
dmesg: fix non-ANSI function declaration [smatch scan]
authorKarel Zak <kzak@redhat.com>
Tue, 17 Jan 2012 15:50:17 +0000 (16:50 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 17 Jan 2012 15:50:17 +0000 (16:50 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/dmesg.c

index 793b1c4757cf7f37160d2b972a5bd6042cac4849..9cbe5165839eb79b31c581792c2a9e4373333092 100644 (file)
@@ -324,7 +324,7 @@ static double time_diff(struct timeval *a, struct timeval *b)
        return (a->tv_sec - b->tv_sec) + (a->tv_usec - b->tv_usec) / 1E6;
 }
 
-static int get_buffer_size()
+static int get_buffer_size(void)
 {
        int n = klogctl(SYSLOG_ACTION_SIZE_BUFFER, NULL, 0);