8 remove prev
This commit is contained in:
parent
f4b4efbfae
commit
a57e112b89
|
@ -9,7 +9,6 @@ typedef struct node
|
|||
{
|
||||
int value;
|
||||
struct node *next;
|
||||
struct node *prev;
|
||||
} Node;
|
||||
|
||||
typedef struct
|
||||
|
@ -31,7 +30,6 @@ BOOL enqueue(int value)
|
|||
return FALSE;
|
||||
|
||||
new_head->value = value;
|
||||
new_head->prev = HEAD;
|
||||
|
||||
if (HEAD != NULL)
|
||||
HEAD->next = new_head;
|
||||
|
|
Loading…
Reference in New Issue