From 6cbd12b772f7d1de710ade73863d8fd8e5ce5938 Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Tue, 27 Dec 2022 19:44:11 +0530 Subject: [PATCH] exp 7: remove the peek fn Signed-off-by: Amneesh Singh --- 7.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/7.c b/7.c index 471c022..a6e8f81 100644 --- a/7.c +++ b/7.c @@ -13,8 +13,6 @@ struct Queue { node *tail; }; -int peek(queue *q) { return q->head->id; } - void insert(queue *q, int id) { node *new = malloc(sizeof(node)); new->id = id;