mirror of
https://github.com/FizzyApple12/Waccon.git
synced 2026-10-10 08:18:24 +03:00
Initial commit with V1 hardware
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef _QUEUE_
|
||||
#define _QUEUE_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct node {
|
||||
int val;
|
||||
struct node *next;
|
||||
} node_t;
|
||||
|
||||
void enqueue(node_t **head, int val);
|
||||
|
||||
int dequeue(node_t **head);
|
||||
|
||||
bool isEmpty(node_t **head);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user