]> mj.ucw.cz Git - libucw.git/blobdiff - lib/alloc.c
Add sh_time_t type.
[libucw.git] / lib / alloc.c
index 65594669234328ad0316a2b956d2434f815479b9..bec45d9b590f691050aa7722cc746af63c91c640 100644 (file)
@@ -1,19 +1,18 @@
 /*
  *     Sherlock Library -- Memory Allocation
  *
- *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 2000 Martin Mares <mj@ucw.cz>
  */
 
-#include <stdio.h>
-#include <stdlib.h>
+#include "lib/lib.h"
 
-#include "lib.h"
+#include <stdlib.h>
 
 void *
 xmalloc(uns size)
 {
   void *x = malloc(size);
   if (!x)
-       die("Cannot allocate %d bytes of memory", size);
+    die("Cannot allocate %d bytes of memory", size);
   return x;
 }