From 2bd0c8f5983e954b25ad9b603229e84d675946b8 Mon Sep 17 00:00:00 2001 From: Oskar Date: Sat, 11 May 2024 14:53:25 +0200 Subject: readme --- d_linkedlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'd_linkedlist.c') diff --git a/d_linkedlist.c b/d_linkedlist.c index 9246dce..05f041e 100644 --- a/d_linkedlist.c +++ b/d_linkedlist.c @@ -14,7 +14,7 @@ struct waster { struct waster *next; }; -struct waster *newnode () { +struct waster *newnode (void) { struct waster *new = malloc(sizeof(struct waster)); return new; @@ -59,7 +59,7 @@ void freellist(struct waster *wr1) { } } -int main () { +int main (void) { struct waster *wr1 = llist(20); struct waster *p; -- cgit v1.2.3