mirror of https://github.com/mkerrisk/man-pages
clock_getres.2: EXAMPLES: Use 'const' when appropriate
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
93f369892a
commit
276dc9a3cc
|
@ -476,7 +476,7 @@ CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)
|
|||
#define SECS_IN_DAY (24 * 60 * 60)
|
||||
|
||||
static void
|
||||
displayClock(clockid_t clock, char *name, bool showRes)
|
||||
displayClock(clockid_t clock, const char *name, bool showRes)
|
||||
{
|
||||
struct timespec ts;
|
||||
|
||||
|
|
Loading…
Reference in New Issue