Commit ace98693 authored by Job Vranish's avatar Job Vranish
Browse files

added files missed in last commit

parent 24d8e06b
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
#include "kinetic_memory.h"

#include <stdlib.h>

void * KineticCalloc(size_t count, size_t size)
{
    return calloc(count, size);
}

void KineticFree(void * pointer)
{
    free(pointer);
}
+29 −0
Original line number Diff line number Diff line
/*
* kinetic-c
* Copyright (C) 2014 Seagate Technology.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/

#ifndef _KINETIC_MEMORY_H
#define _KINETIC_MEMORY_H

#include <stddef.h>

void * KineticCalloc(size_t count, size_t size);
void KineticFree(void * pointer);

#endif // _KINETIC_MEMORY_H