File: allocate.h

package info (click to toggle)
batctl 2024.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 844 kB
  • sloc: ansic: 11,893; makefile: 156; sh: 21
file content (20 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) B.A.T.M.A.N. contributors:
 *
 * Marek Lindner <[email protected]>
 *
 * License-Filename: LICENSES/preferred/GPL-2.0
 */


#ifndef _BATCTL_ALLOCATE_H
#define _BATCTL_ALLOCATE_H

/* debug allocate wrapper to keep hash.c happy */

#include <stdlib.h>

#define debugMalloc(length, tag) malloc(length)
#define debugFree(mem, tag) free(mem)

#endif