]> git.baikalelectronics.ru Git - kernel.git/commit
posix-timers: Make do_clock_gettime() static
authorJiri Slaby <jslaby@suse.cz>
Tue, 19 Jul 2022 08:56:20 +0000 (10:56 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 6 Aug 2022 08:33:54 +0000 (10:33 +0200)
commitaabd8fb5e1023d99c6c49fc3c819a245878cd5a5
tree13c2b31094f4a3b6bf1b84502d2e4eca023ac33d
parent198b92402ba18606173a1af61a10235111597f6f
posix-timers: Make do_clock_gettime() static

do_clock_gettime() is used only in posix-stubs.c, so make it static. It avoids
a compiler warning too:
time/posix-stubs.c:73:5: warning: no previous prototype for ‘do_clock_gettime’ [-Wmissing-prototypes]

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220719085620.30567-1-jslaby@suse.cz
kernel/time/posix-stubs.c