hwclock: remove non-ANSI function declaration [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
3d4820f4d1
commit
c9c1304d1d
|
@ -24,7 +24,7 @@
|
|||
#if !defined(__m68k__) || !defined(KDGHWCLK)
|
||||
|
||||
#include <stddef.h>
|
||||
struct clock_ops *probe_for_kd_clock()
|
||||
struct clock_ops *probe_for_kd_clock(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -410,7 +410,7 @@ static struct clock_ops rtc = {
|
|||
};
|
||||
|
||||
/* return &rtc if /dev/rtc can be opened, NULL otherwise */
|
||||
struct clock_ops *probe_for_rtc_clock()
|
||||
struct clock_ops *probe_for_rtc_clock(void)
|
||||
{
|
||||
int rtc_fd = open_rtc();
|
||||
if (rtc_fd >= 0)
|
||||
|
|
Loading…
Reference in New Issue