summaryrefslogtreecommitdiffstats
path: root/src/isode/compat/smalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isode/compat/smalloc.c')
-rw-r--r--src/isode/compat/smalloc.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/isode/compat/smalloc.c b/src/isode/compat/smalloc.c
deleted file mode 100644
index d65cccffa9..0000000000
--- a/src/isode/compat/smalloc.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/* smalloc.c - error checking malloc */
-
-/*
- * isode/compat/smalloc.c
- */
-
-/*
- * NOTICE
- *
- * Acquisition, use, and distribution of this module and related
- * materials are subject to the restrictions of a license agreement.
- * Consult the Preface in the User's Manual for the full terms of
- * this agreement.
- *
- */
-
-
-/* LINTLIBRARY */
-
-#include <stdio.h>
-#include "general.h"
-#include "manifest.h"
-#include "tailor.h"
-
-/* */
-
-char *
-smalloc(size)
-int size;
-{
- register char *ptr;
-
- if ((ptr = malloc((unsigned) size)) == NULL){
- LLOG (compat_log,LLOG_FATAL, ("malloc() failure"));
- abort ();
- /* NOTREACHED */
- }
-
- return(ptr);
-}