chaos_queue.c
static
queue_entry* alloc_entry(void)
{
    queue_entry* entry;
    
    if((entry = malloc(sizeof(queue_entry))) != NULL) {
        entry->data = NULL;
        entry->prev = NULL;
        entry->next = NULL;
    }
    
    return entry;
}
/* Allocates and initializes a new queue entry */
Allocates and initializes a new queue entry
Allocates and initializes a new queue entry
static
queue_entry* alloc_entry(void)
{
    queue_entry* entry;
    if((entry = malloc(sizeof(queue_entry))) != NULL) {
        entry->data = NULL;
        entry->prev = NULL;
        entry->next = NULL;
    }
    return entry;
}
static queue_entry * alloc_entry ( void ) { queue_entry * entry ; if ( ( entry = malloc ( sizeof ( queue_entry ) ) ) != NULL ) { entry -> data = NULL ; entry -> prev = NULL ; entry -> next = NULL ; } return entry ; }
Allocates and initializes a new queue entry
Allocates and initializes a new queue entry