From 4f98e15dd8055ff143acb00b6163f6e9f52ec289 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Fri, 22 Jul 2011 10:30:32 +0000 Subject: [PATCH] remove const from run_loop objects - until I learn how to use it properly --- src/run_loop_cocoa.m | 2 +- src/run_loop_embedded.c | 2 +- src/run_loop_posix.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/run_loop_cocoa.m b/src/run_loop_cocoa.m index 825aaee7d..c5fbb6670 100644 --- a/src/run_loop_cocoa.m +++ b/src/run_loop_cocoa.m @@ -145,7 +145,7 @@ void cocoa_dump_timer(void){ return; } -const run_loop_t run_loop_cocoa = { +run_loop_t run_loop_cocoa = { &cocoa_init, &cocoa_add_data_source, &cocoa_remove_data_source, diff --git a/src/run_loop_embedded.c b/src/run_loop_embedded.c index 473403b58..a497cedee 100644 --- a/src/run_loop_embedded.c +++ b/src/run_loop_embedded.c @@ -165,7 +165,7 @@ void embedded_init(){ #endif } -const run_loop_t run_loop_embedded = { +run_loop_t run_loop_embedded = { &embedded_init, &embedded_add_data_source, &embedded_remove_data_source, diff --git a/src/run_loop_posix.c b/src/run_loop_posix.c index b2e91da0f..4cd3a6f07 100644 --- a/src/run_loop_posix.c +++ b/src/run_loop_posix.c @@ -234,7 +234,7 @@ void posix_init(void){ timers = NULL; } -const run_loop_t run_loop_posix = { +run_loop_t run_loop_posix = { &posix_init, &posix_add_data_source, &posix_remove_data_source,