Silence g++ warning type qualifiers ignored on function return type.

Closes #54
This commit is contained in:
Ben Noordhuis 2011-06-13 21:18:23 +02:00 committed by Bert Belder
parent 2b5707d834
commit 043d3860d9
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
static uv_counters_t counters;
uv_counters_t* const uv_counters() {
uv_counters_t* uv_counters() {
return &counters;
}

2
uv.h
View File

@ -386,7 +386,7 @@ typedef struct {
uint64_t timer_init;
} uv_counters_t;
uv_counters_t* const uv_counters();
uv_counters_t* uv_counters();
#ifdef __cplusplus
}