#include <string.h>
+#include "../common/xmalloc.h"
+
#include "error.h"
-#include "mem.h"
#include "fileio.h"
-void Write8 (FILE* F, unsigned char Val)
+void Write8 (FILE* F, unsigned Val)
/* Write an 8 bit value to the file */
{
if (putc (Val, F) == EOF) {
unsigned Len = Read8 (F);
/* Allocate memory */
- char* Str = Xmalloc (Len + 1);
+ char* Str = xmalloc (Len + 1);
/* Read the string itself */
ReadData (F, Str, Len);
+