diff options
author | Karel Zak | 2012-01-17 16:50:17 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-17 16:50:17 +0100 |
commit | 8cfd1ffb7aecd14d15a27eac78e006370a3d2e37 (patch) | |
tree | 043093b47070782147b694833daa28177824265b /sys-utils/dmesg.c | |
parent | line: fix compiler warnings [-Wunused-parameter] (diff) | |
download | kernel-qcow2-util-linux-8cfd1ffb7aecd14d15a27eac78e006370a3d2e37.tar.gz kernel-qcow2-util-linux-8cfd1ffb7aecd14d15a27eac78e006370a3d2e37.tar.xz kernel-qcow2-util-linux-8cfd1ffb7aecd14d15a27eac78e006370a3d2e37.zip |
dmesg: fix non-ANSI function declaration [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.c')
-rw-r--r-- | sys-utils/dmesg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index 793b1c475..9cbe51658 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -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); |