public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ca61b
)
Added #define for Free, improved text
author
ceriel
<none@none>
Tue, 11 Jul 1989 17:02:07 +0000
(17:02 +0000)
committer
ceriel
<none@none>
Tue, 11 Jul 1989 17:02:07 +0000
(17:02 +0000)
modules/src/alloc/alloc.3
patch
|
blob
|
history
modules/src/alloc/alloc.h
patch
|
blob
|
history
diff --git
a/modules/src/alloc/alloc.3
b/modules/src/alloc/alloc.3
index
4d169f8
..
b79d270
100644
(file)
--- a/
modules/src/alloc/alloc.3
+++ b/
modules/src/alloc/alloc.3
@@
-64,7
+64,7
@@
It actually does the same as \fIRealloc\fP, and exists only for
backwards compatibility.
.PP
All these routines use \fImalloc\fR and \fIrealloc\fR.
-
\fIF
ree\fR can be used on pointers returned by these routines.
+
The routine \fIf
ree\fR can be used on pointers returned by these routines.
.PP
\fISt_alloc\fR and \fIst_free\fR provide a mechanism for maintaining free lists
of structures.
diff --git
a/modules/src/alloc/alloc.h
b/modules/src/alloc/alloc.h
index
f84b0b1
..
63211c3
100644
(file)
--- a/
modules/src/alloc/alloc.h
+++ b/
modules/src/alloc/alloc.h
@@
-36,4
+36,7
@@
typedef struct _ALLOC_ {
#define st_free(ptr, phead, size) (botch((char *)(ptr), size), \
_A_st_free(ptr, phead, size))
#endif BOTCH_FREE
+
+#define Free(p) free(p)
+
#endif __ALLOC_INCLUDED__