Removed finally unnecessary cast.

This commit is contained in:
oliverschmidt 2008-02-10 22:36:36 +00:00
parent 0e96534ca8
commit 2632f8f937
11 changed files with 22 additions and 22 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)$Id: contiki-sky-main.c,v 1.2 2007/11/15 13:08:38 nifi Exp $
* @(#)$Id: contiki-sky-main.c,v 1.3 2008/02/10 22:47:07 oliverschmidt Exp $
*/
#include <signal.h>
@ -126,7 +126,7 @@ main(int argc, char **argv)
#endif /* WITH_UIP */
printf("Starting %s "
"($Id: contiki-sky-main.c,v 1.2 2007/11/15 13:08:38 nifi Exp $)\n", __FILE__);
"($Id: contiki-sky-main.c,v 1.3 2008/02/10 22:47:07 oliverschmidt Exp $)\n", __FILE__);
ds2411_init();
sensors_light_init();
sht11_init();
@ -183,7 +183,7 @@ main(int argc, char **argv)
button_sensor.activate();
printf("Autostarting processes\n");
autostart_start((struct process **) autostart_processes);
autostart_start(autostart_processes);
energest_init();

View file

@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt <ol.sc@web.de>
*
* $Id: contiki-main.c,v 1.14 2007/12/23 15:29:51 oliverschmidt Exp $
* $Id: contiki-main.c,v 1.15 2008/02/10 22:45:26 oliverschmidt Exp $
*/
#include "contiki-net.h"
@ -68,7 +68,7 @@ main(void)
procinit_init();
autostart_start((struct process **)autostart_processes);
autostart_start(autostart_processes);
#if 1

View file

@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt <ol.sc@web.de>
*
* $Id: contiki-main.c,v 1.1 2008/01/05 22:30:23 oliverschmidt Exp $
* $Id: contiki-main.c,v 1.2 2008/02/10 22:43:58 oliverschmidt Exp $
*/
#include <string.h>
@ -85,7 +85,7 @@ main(void)
procinit_init();
autostart_start((struct process **)autostart_processes);
autostart_start(autostart_processes);
#if 1

View file

@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt <ol.sc@web.de>
*
* $Id: contiki-main.c,v 1.16 2007/12/24 15:01:49 oliverschmidt Exp $
* $Id: contiki-main.c,v 1.17 2008/02/10 22:43:07 oliverschmidt Exp $
*/
#include <string.h>
@ -85,7 +85,7 @@ main(void)
procinit_init();
autostart_start((struct process **)autostart_processes);
autostart_start(autostart_processes);
#if 1

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: contiki-esb-main.c,v 1.12 2007/11/26 19:34:23 nifi Exp $
* @(#)$Id: contiki-esb-main.c,v 1.13 2008/02/10 22:42:07 oliverschmidt Exp $
*/
#include <io.h>
@ -77,7 +77,7 @@ PROCESS_THREAD(contiki_esb_main_init_process, ev, data)
PROCESS_PAUSE();
print_processes((struct process **) autostart_processes);
autostart_start((struct process **) autostart_processes);
autostart_start(autostart_processes);
beep_spinup();
leds_on(LEDS_RED);

View file

@ -29,7 +29,7 @@
*
* This file is part of the Contiki OS
*
* $Id: ethernut-main.c,v 1.3 2007/05/26 23:06:31 oliverschmidt Exp $
* $Id: ethernut-main.c,v 1.4 2008/02/10 22:41:05 oliverschmidt Exp $
*
*/
@ -82,7 +82,7 @@ main(void)
procinit_init();
autostart_start((struct process **) autostart_processes);
autostart_start(autostart_processes);
rs232_print("Initialized\n");

View file

@ -112,7 +112,7 @@ main(void)
printf(CONTIKI_VERSION_STRING " started. Node id %u.\n", node_id);
autostart_start((struct process **) autostart_processes);
autostart_start(autostart_processes);
/*
* This is the scheduler loop.

View file

@ -29,7 +29,7 @@
*
* This file is part of the Contiki OS
*
* $Id: contiki-main.c,v 1.7 2008/01/08 08:08:57 adamdunkels Exp $
* $Id: contiki-main.c,v 1.8 2008/02/10 22:39:26 oliverschmidt Exp $
*
*/
@ -59,7 +59,7 @@ main(void)
procinit_init();
autostart_start((struct process **)autostart_processes);
autostart_start(autostart_processes);
/* Make standard output unbuffered. */
setvbuf(stdout, (char *)NULL, _IONBF, 0);

View file

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $Id: contiki-main.c,v 1.27 2008/02/03 20:49:50 adamdunkels Exp $
* $Id: contiki-main.c,v 1.28 2008/02/10 22:38:21 oliverschmidt Exp $
*/
#include "contiki.h"
@ -161,7 +161,7 @@ contiki_main(int flag)
rtimer_init();
autostart_start((struct process **)autostart_processes);
autostart_start(autostart_processes);
while(1) {
int n;

View file

@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt <ol.sc@web.de>
*
* $Id: contiki-main.c,v 1.16 2008/02/10 19:14:48 oliverschmidt Exp $
* $Id: contiki-main.c,v 1.17 2008/02/10 22:48:17 oliverschmidt Exp $
*/
#define WIN32_LEAN_AND_MEAN
@ -97,7 +97,7 @@ main(void)
program_handler_add(&www_dsc, "Web browser", 1);
#endif /* PLATFORM_BUILD */
autostart_start((struct process **)autostart_processes);
autostart_start(autostart_processes);
#if 1
{

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: contiki_template.c,v 1.6 2007/11/25 22:50:12 fros4943 Exp $
* $Id: contiki_template.c,v 1.7 2008/02/10 22:36:36 oliverschmidt Exp $
*/
/**
@ -120,7 +120,7 @@ start_process_run_loop(void *data)
init_net();
/* Start user applications */
autostart_start((struct process **) autostart_processes);
autostart_start(autostart_processes);
while(1)
{