summaryrefslogtreecommitdiff
path: root/xwrap.h
blob: ee50cd5750216667c3054972c52e9e18d695fc38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef XWRAP_H
#define XWRAP_H

#ifdef __cplusplus
extern "C" {
#endif

#include <sys/types.h>

void *xmalloc(size_t size);
char *xstrdup(const char *s);

#ifdef __cplusplus
}
#endif

#endif