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

index 71796bfe46b5ec8362e46f528ce573f5c8e70d3c..ee926c960d02113cf54dd7e8037c6e9fab74a6a1 100644 (file)
@@ -462,7 +462,7 @@ static void report_device(char *device, int quiet)
        close(fd);
 }
 
-static void report_header()
+static void report_header(void)
 {
        printf(_("RO    RA   SSZ   BSZ   StartSec            Size   Device\n"));
 }