core: Remove _t from struct names

This commit is contained in:
DipSwitch 2016-04-07 21:19:04 +02:00
parent 7714133f7d
commit 4e8834ae87
4 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ extern "C" {
* @note This type is a struct for hard type checking (let the compiler warn
* if int is assigned regularly).
*/
typedef struct atomic_int {
typedef struct {
volatile int value; /**< the actual value */
} atomic_int_t;

View File

@ -181,7 +181,7 @@ extern "C" {
* the corresponding fields are never read by the kernel.
*
*/
typedef struct msg {
typedef struct {
kernel_pid_t sender_pid; /**< PID of sending thread. Will be filled in
by msg_send. */
uint16_t type; /**< Type field. */

View File

@ -29,8 +29,8 @@
/**
* @brief data type for priority queue nodes
*/
typedef struct priority_queue_node_t {
struct priority_queue_node_t *next; /**< next queue node */
typedef struct priority_queue_node {
struct priority_queue_node *next; /**< next queue node */
uint32_t priority; /**< queue node priority */
unsigned int data; /**< queue node data */
} priority_queue_node_t;
@ -38,7 +38,7 @@ typedef struct priority_queue_node_t {
/**
* @brief data type for priority queues
*/
typedef struct queue {
typedef struct {
priority_queue_node_t *first; /**< first queue node */
} priority_queue_t;

View File

@ -27,7 +27,7 @@ extern "C" {
* @brief Ringbuffer.
* @details Non thread-safe FIFO ringbuffer implementation around a `char` array.
*/
typedef struct ringbuffer {
typedef struct {
char *buf; /**< Buffer to operate on. */
unsigned int size; /**< Size of buf. */
unsigned int start; /**< Current read position in the ring buffer. */