mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-10 06:26:04 -05:00
6e4aec520e
xmalloc checks the returned pointer and dies if it failed to allocate the memory. Use this new function in window.c. More places will be converted to use xmalloc latter. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9 lines
138 B
C
9 lines
138 B
C
#ifndef WRAPPER_H_
|
|
#define WRAPPER_H_
|
|
|
|
extern int xmkstemp(char *template);
|
|
|
|
extern void *xmalloc(size_t size);
|
|
|
|
#endif /* WRAPPER_H_ */
|