mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-21 15:24:17 +02:00
small style changes
This commit is contained in:
parent
40479540b4
commit
0a9a8cce9b
1 changed files with 3 additions and 2 deletions
5
queue.c
5
queue.c
|
|
@ -32,13 +32,14 @@ struct queue_entry_t {
|
|||
};
|
||||
|
||||
struct queue_t {
|
||||
struct queue_entry_t *head, *tail;
|
||||
struct queue_entry_t *head;
|
||||
struct queue_entry_t *tail;
|
||||
};
|
||||
|
||||
struct queue_t *new_queue(void)
|
||||
{
|
||||
struct queue_t *q = malloc(sizeof(struct queue_t));
|
||||
if (q != NULL) {
|
||||
if (q) {
|
||||
q->head = NULL;
|
||||
q->tail = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue