Simplify code

This commit is contained in:
Patrick Pelissier committed 2022-04-03 19:14:25 +02:00
1 parent 9d33e4cd5a
commit eea85872fd
1 file changed
+1 -2
+1 -2
View File
@@ -5,8 +5,7 @@
#include "m-rbtree.h" #include "m-rbtree.h"
// Let's define one utility function. // Let's define one utility function.
void *xmalloc(size_t n); static void *xmalloc(size_t n)
void *xmalloc(size_t n)
{ {
void *p = malloc (n); void *p = malloc (n);
if (!p) abort(); if (!p) abort();