diff options
author | Oskar <[email protected]> | 2024-05-11 14:53:25 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-05-11 14:53:25 +0200 |
commit | 2bd0c8f5983e954b25ad9b603229e84d675946b8 (patch) | |
tree | 6498f474801ec477ec1b9ff766ebc992b71250dd /d_linkedlist.c | |
parent | ae64013ed9550a9ca2fd555068388125a0b05e79 (diff) |
readme
Diffstat (limited to 'd_linkedlist.c')
-rw-r--r-- | d_linkedlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |