diff --git a/core/loader/elfloader.c b/core/loader/elfloader.c index bd588a0de..73350b61f 100644 --- a/core/loader/elfloader.c +++ b/core/loader/elfloader.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: elfloader.c,v 1.7 2007/09/14 20:12:55 nvt-se Exp $ + * @(#)$Id: elfloader.c,v 1.8 2008/01/24 13:09:32 adamdunkels Exp $ */ #include "contiki.h" @@ -133,7 +133,7 @@ struct relevant_section { char elfloader_unknown[30]; /* Name that caused link error. */ -struct process **elfloader_autostart_processes; +struct process * const * elfloader_autostart_processes; static struct relevant_section bss, data, rodata, text; diff --git a/core/loader/elfloader.h b/core/loader/elfloader.h index 095e29f48..db31e7b72 100644 --- a/core/loader/elfloader.h +++ b/core/loader/elfloader.h @@ -70,7 +70,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: elfloader.h,v 1.2 2006/12/18 14:45:49 fros4943 Exp $ + * @(#)$Id: elfloader.h,v 1.3 2008/01/24 13:09:33 adamdunkels Exp $ */ #ifndef __ELFLOADER_H__ #define __ELFLOADER_H__ @@ -151,7 +151,7 @@ int elfloader_load(int fd); /** * A pointer to the processes loaded with elfloader_load(). */ -extern struct process **elfloader_autostart_processes; +extern struct process * const * elfloader_autostart_processes; /** * If elfloader_load() could not find a specific symbol, it is copied