aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/alloc.c
blob: 826e4f9e0984a0414db75312393f439b191fa30a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Dummy implementation for alloc commands
//
// Copyright (C) 2016  Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU GPLv3 license.

#include "misc.h"

// Return the maximum allocation size that can succeed up to 'reqsize'
size_t alloc_maxsize(size_t reqsize)
{
    return reqsize;
}