projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53de81
)
const correctness on function pointer
author
Rich Felker
<dalias@aerifal.cx>
Sun, 24 Jul 2011 04:54:36 +0000
(
00:54
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 24 Jul 2011 04:54:36 +0000
(
00:54
-0400)
src/time/clock_gettime.c
patch
|
blob
|
history
diff --git
a/src/time/clock_gettime.c
b/src/time/clock_gettime.c
index c27c9e9e4ed0b77636e05532778c0bf0782f3268..bb977e28a4050b761a0d08d8978f730f6b3f6f6a 100644
(file)
--- 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 (*c
onst c
gt)(clockid_t, struct timespec *) = __vdso_clock_gettime;
int __clock_gettime(clockid_t clk, struct timespec *ts)
{