Some minor corrections
authorceriel <none@none>
Thu, 14 Jan 1988 13:40:56 +0000 (13:40 +0000)
committerceriel <none@none>
Thu, 14 Jan 1988 13:40:56 +0000 (13:40 +0000)
modules/src/alloc/Makefile
modules/src/alloc/Malloc.c
modules/src/alloc/Realloc.c
modules/src/alloc/Salloc.c
modules/src/alloc/Srealloc.c
modules/src/alloc/alloc.3

index de720ea..db69252 100644 (file)
@@ -3,6 +3,7 @@ HDIR = $(EMHOME)/modules/h
 INSTALL=$(EMHOME)/modules/install
 COMPARE=$(EMHOME)/modules/compare
 INCLUDES = -I. -I$(HDIR)
+AR = ar
 
 CFLAGS = -O $(INCLUDES)
 
@@ -24,7 +25,7 @@ OBJECTS =     botch.o clear.o st_alloc.o Malloc.o Salloc.o \
 all:           liballoc.a
 
 liballoc.a:    $(OBJECTS)
-               ar cr liballoc.a $(OBJECTS)
+               $(AR) cr liballoc.a $(OBJECTS)
                -sh -c 'ranlib liballoc.a'
 
 install:       all
index db538ee..f8ac6c2 100644 (file)
@@ -8,11 +8,8 @@
 /*     The memory allocation routines offered in this file are:
 
        char *Malloc(n)         : allocate n bytes
-
-       This file imports routines from "system".
 */
 
-#include       <system.h>
 #include       "in_all.h"
 #include       "alloc.h"
 
index 643bd9a..5065264 100644 (file)
@@ -8,11 +8,8 @@
 /*     The memory allocation routines offered in this file are:
 
        char *Realloc(ptr, n)   : reallocate buffer to n bytes
-
-       This file imports routines from "system".
 */
 
-#include       <system.h>
 #include       "in_all.h"
 #include       "alloc.h"
 
index 33c93e4..f553c49 100644 (file)
@@ -9,11 +9,8 @@
 
        char *Salloc(str, n)    : allocate n bytes, initialized with the string
                                        str
-
-       This file imports routines from "system".
 */
 
-#include       <system.h>
 #include       "in_all.h"
 #include       "alloc.h"
 
index 9f1fede..2f04d96 100644 (file)
@@ -8,11 +8,8 @@
 /*     The memory allocation routines offered in this file are:
 
        char *Srealloc(ptr, n)  : reallocate buffer to n bytes
-
-       This file imports routines from "system".
 */
 
-#include       <system.h>
 #include       "in_all.h"
 #include       "alloc.h"
 
index e2d6fec..4d169f8 100644 (file)
@@ -85,6 +85,8 @@ These last two routines are best used in a macro.
 ~em/modules/h/alloc.h
 ~em/modules/lib/liballoc.a
 .fi
+.SH "MODULES USED"
+system(3)
 .SH "SEE ALSO"
 malloc(3)
 .SH DIAGNOSTICS