From 541e92b81ee1b5973c4e9c003821d79a6c6f9b47 Mon Sep 17 00:00:00 2001 From: verdant Date: Wed, 22 Jul 2026 20:50:00 +0800 Subject: Reformat err.c mem.c --- mem.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mem.c') diff --git a/mem.c b/mem.c index ff76b08..dda95d6 100644 --- a/mem.c +++ b/mem.c @@ -6,11 +6,11 @@ #include "err.h" -void *xmalloc(size_t size) { - void *rtn = malloc(size); - if (!rtn) { - endwin(); - die("Out of memory"); - } - return rtn; +void *xmalloc(size_t size) +{ + void *rtn = malloc(size); + if (!rtn) { + die("Out of memory"); + } + return rtn; } -- cgit v1.2.3