Removed finally unnecessary cast.
This commit is contained in:
parent
0e96534ca8
commit
2632f8f937
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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>
|
#include <signal.h>
|
||||||
|
@ -126,7 +126,7 @@ main(int argc, char **argv)
|
||||||
#endif /* WITH_UIP */
|
#endif /* WITH_UIP */
|
||||||
|
|
||||||
printf("Starting %s "
|
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();
|
ds2411_init();
|
||||||
sensors_light_init();
|
sensors_light_init();
|
||||||
sht11_init();
|
sht11_init();
|
||||||
|
@ -183,7 +183,7 @@ main(int argc, char **argv)
|
||||||
button_sensor.activate();
|
button_sensor.activate();
|
||||||
|
|
||||||
printf("Autostarting processes\n");
|
printf("Autostarting processes\n");
|
||||||
autostart_start((struct process **) autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
energest_init();
|
energest_init();
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* 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"
|
#include "contiki-net.h"
|
||||||
|
@ -68,7 +68,7 @@ main(void)
|
||||||
|
|
||||||
procinit_init();
|
procinit_init();
|
||||||
|
|
||||||
autostart_start((struct process **)autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* 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>
|
#include <string.h>
|
||||||
|
@ -85,7 +85,7 @@ main(void)
|
||||||
|
|
||||||
procinit_init();
|
procinit_init();
|
||||||
|
|
||||||
autostart_start((struct process **)autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* 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>
|
#include <string.h>
|
||||||
|
@ -85,7 +85,7 @@ main(void)
|
||||||
|
|
||||||
procinit_init();
|
procinit_init();
|
||||||
|
|
||||||
autostart_start((struct process **)autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* 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>
|
#include <io.h>
|
||||||
|
@ -77,7 +77,7 @@ PROCESS_THREAD(contiki_esb_main_init_process, ev, data)
|
||||||
PROCESS_PAUSE();
|
PROCESS_PAUSE();
|
||||||
|
|
||||||
print_processes((struct process **) autostart_processes);
|
print_processes((struct process **) autostart_processes);
|
||||||
autostart_start((struct process **) autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
beep_spinup();
|
beep_spinup();
|
||||||
leds_on(LEDS_RED);
|
leds_on(LEDS_RED);
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki OS
|
* 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();
|
procinit_init();
|
||||||
|
|
||||||
autostart_start((struct process **) autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
rs232_print("Initialized\n");
|
rs232_print("Initialized\n");
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ main(void)
|
||||||
|
|
||||||
printf(CONTIKI_VERSION_STRING " started. Node id %u.\n", node_id);
|
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.
|
* This is the scheduler loop.
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki OS
|
* 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();
|
procinit_init();
|
||||||
|
|
||||||
autostart_start((struct process **)autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
/* Make standard output unbuffered. */
|
/* Make standard output unbuffered. */
|
||||||
setvbuf(stdout, (char *)NULL, _IONBF, 0);
|
setvbuf(stdout, (char *)NULL, _IONBF, 0);
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* 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"
|
#include "contiki.h"
|
||||||
|
@ -161,7 +161,7 @@ contiki_main(int flag)
|
||||||
|
|
||||||
rtimer_init();
|
rtimer_init();
|
||||||
|
|
||||||
autostart_start((struct process **)autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
int n;
|
int n;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* 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
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
@ -97,7 +97,7 @@ main(void)
|
||||||
program_handler_add(&www_dsc, "Web browser", 1);
|
program_handler_add(&www_dsc, "Web browser", 1);
|
||||||
#endif /* PLATFORM_BUILD */
|
#endif /* PLATFORM_BUILD */
|
||||||
|
|
||||||
autostart_start((struct process **)autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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();
|
init_net();
|
||||||
|
|
||||||
/* Start user applications */
|
/* Start user applications */
|
||||||
autostart_start((struct process **) autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue