aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsystypes.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-06 15:33:35 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-06 15:33:35 +0000
commit0678da6352ac484d560086a7f08b533c171b3ef1 (patch)
tree6f72aef789299612d3de1f8412e73fab21e58220 /os/rt/include/chsystypes.h
parent94db6c6fab0c7b453430190eef4a0d2ddc10b446 (diff)
downloadChibiOS-0678da6352ac484d560086a7f08b533c171b3ef1.tar.gz
ChibiOS-0678da6352ac484d560086a7f08b533c171b3ef1.tar.bz2
ChibiOS-0678da6352ac484d560086a7f08b533c171b3ef1.zip
More MISRA.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7718 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chsystypes.h')
-rw-r--r--os/rt/include/chsystypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/rt/include/chsystypes.h b/os/rt/include/chsystypes.h
index cf101e0db..9a01a93c4 100644
--- a/os/rt/include/chsystypes.h
+++ b/os/rt/include/chsystypes.h
@@ -63,6 +63,11 @@ typedef uint16_t systime_t;
typedef struct ch_thread thread_t;
/**
+ * @brief Type of a thread reference.
+ */
+typedef thread_t * thread_reference_t;
+
+/**
* @brief Type of a generic threads single link list, it works like a stack.
*/
typedef struct ch_threads_list threads_list_t;