summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-09-02 08:14:52 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-09-02 08:14:52 +0000
commit8aa6180e92d32350cc129122061764b95555b4a7 (patch)
tree1a1f44e91acdd82ac11c3659dabf081d6d78bf7c /firmware/export
parent3686228f9d620b108ca272767a3b2fe4db5ec289 (diff)
downloadrockbox-8aa6180e92d32350cc129122061764b95555b4a7.tar.gz
rockbox-8aa6180e92d32350cc129122061764b95555b4a7.zip
Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10854 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index 16408e816e..e102997dae 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -29,6 +29,7 @@
29 29
30#define DEFAULT_STACK_SIZE 0x400 /* Bytes */ 30#define DEFAULT_STACK_SIZE 0x400 /* Bytes */
31 31
32#ifndef SIMULATOR
32/* Need to keep structures inside the header file because debug_menu 33/* Need to keep structures inside the header file because debug_menu
33 * needs them. */ 34 * needs them. */
34#ifdef CPU_COLDFIRE 35#ifdef CPU_COLDFIRE
@@ -78,6 +79,7 @@ struct core_entry {
78 int current_thread; 79 int current_thread;
79 struct thread_entry threads[MAXTHREADS]; 80 struct thread_entry threads[MAXTHREADS];
80}; 81};
82#endif
81 83
82int create_thread(void (*function)(void), void* stack, int stack_size, 84int create_thread(void (*function)(void), void* stack, int stack_size,
83 const char *name); 85 const char *name);