const correctness on function pointer
This commit is contained in:
parent
a53de812d2
commit
f7adc39e37
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
#include "libc.h"
|
#include "libc.h"
|
||||||
|
|
||||||
int __vdso_clock_gettime(clockid_t, struct timespec *) __attribute__((weak));
|
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)
|
int __clock_gettime(clockid_t clk, struct timespec *ts)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue