X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ftime%2Fclock_gettime.c;h=bb977e28a4050b761a0d08d8978f730f6b3f6f6a;hb=f7adc39e3793114e989f0a830af966230cd2c83d;hp=c27c9e9e4ed0b77636e05532778c0bf0782f3268;hpb=e3eb49321c85e43fcc6842f3f57ee097b32555e4;p=musl diff --git a/src/time/clock_gettime.c b/src/time/clock_gettime.c index c27c9e9e..bb977e28 100644 --- a/src/time/clock_gettime.c +++ b/src/time/clock_gettime.c @@ -5,7 +5,7 @@ #include "libc.h" int __vdso_clock_gettime(clockid_t, struct timespec *) __attribute__((weak)); -static int (*cgt)(clockid_t, struct timespec *) = __vdso_clock_gettime; +static int (*const cgt)(clockid_t, struct timespec *) = __vdso_clock_gettime; int __clock_gettime(clockid_t clk, struct timespec *ts) {