Fixed some issues reported by winapi_check.
[wine] / include / xmalloc.h
1 #ifndef __WINE_XMALLOC_H
2 #define __WINE_XMALLOC_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <sys/types.h>
9
10 void *xmalloc( size_t size );
11 void *xcalloc( size_t size );
12 void *xrealloc( void *ptr, size_t size );
13 char *xstrdup( const char *str );
14
15 #ifdef __cplusplus
16 }
17 #endif
18
19 #endif  /* __WINE_XMALLOC_H */