Some minor corrections

This commit is contained in:
ceriel 1988-01-14 13:40:56 +00:00
parent 1ee5101ba7
commit bf37d48ac5
6 changed files with 4 additions and 13 deletions

View file

@ -3,6 +3,7 @@ HDIR = $(EMHOME)/modules/h
INSTALL=$(EMHOME)/modules/install INSTALL=$(EMHOME)/modules/install
COMPARE=$(EMHOME)/modules/compare COMPARE=$(EMHOME)/modules/compare
INCLUDES = -I. -I$(HDIR) INCLUDES = -I. -I$(HDIR)
AR = ar
CFLAGS = -O $(INCLUDES) CFLAGS = -O $(INCLUDES)
@ -24,7 +25,7 @@ OBJECTS = botch.o clear.o st_alloc.o Malloc.o Salloc.o \
all: liballoc.a all: liballoc.a
liballoc.a: $(OBJECTS) liballoc.a: $(OBJECTS)
ar cr liballoc.a $(OBJECTS) $(AR) cr liballoc.a $(OBJECTS)
-sh -c 'ranlib liballoc.a' -sh -c 'ranlib liballoc.a'
install: all install: all

View file

@ -8,11 +8,8 @@
/* The memory allocation routines offered in this file are: /* The memory allocation routines offered in this file are:
char *Malloc(n) : allocate n bytes char *Malloc(n) : allocate n bytes
This file imports routines from "system".
*/ */
#include <system.h>
#include "in_all.h" #include "in_all.h"
#include "alloc.h" #include "alloc.h"

View file

@ -8,11 +8,8 @@
/* The memory allocation routines offered in this file are: /* The memory allocation routines offered in this file are:
char *Realloc(ptr, n) : reallocate buffer to n bytes char *Realloc(ptr, n) : reallocate buffer to n bytes
This file imports routines from "system".
*/ */
#include <system.h>
#include "in_all.h" #include "in_all.h"
#include "alloc.h" #include "alloc.h"

View file

@ -9,11 +9,8 @@
char *Salloc(str, n) : allocate n bytes, initialized with the string char *Salloc(str, n) : allocate n bytes, initialized with the string
str str
This file imports routines from "system".
*/ */
#include <system.h>
#include "in_all.h" #include "in_all.h"
#include "alloc.h" #include "alloc.h"

View file

@ -8,11 +8,8 @@
/* The memory allocation routines offered in this file are: /* The memory allocation routines offered in this file are:
char *Srealloc(ptr, n) : reallocate buffer to n bytes char *Srealloc(ptr, n) : reallocate buffer to n bytes
This file imports routines from "system".
*/ */
#include <system.h>
#include "in_all.h" #include "in_all.h"
#include "alloc.h" #include "alloc.h"

View file

@ -85,6 +85,8 @@ These last two routines are best used in a macro.
~em/modules/h/alloc.h ~em/modules/h/alloc.h
~em/modules/lib/liballoc.a ~em/modules/lib/liballoc.a
.fi .fi
.SH "MODULES USED"
system(3)
.SH "SEE ALSO" .SH "SEE ALSO"
malloc(3) malloc(3)
.SH DIAGNOSTICS .SH DIAGNOSTICS