summaryrefslogtreecommitdiff
path: root/src/libstddjb/alloc.c
blob: d223a567617e593c5c28d948e935a4d804f9895e (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <stdlib.h>
#include <skalibs/alloc.h>

void *alloc (size_t n)
{
  return malloc(n ? n : 1) ;
}