summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1991-02-28 13:55:51 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1991-02-28 13:55:51 +0000
commit86f4ac134541810cdeb800ff80d92e2bd32d0948 (patch)
tree7060fc98e532f3523bc6413224e89fcaf2224a96 /server
parent6cc195e32277f735e6f05b53fbc5067414fb8f62 (diff)
Protect against multiple inclusions.
Diffstat (limited to 'server')
-rw-r--r--server/zalloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/zalloc.h b/server/zalloc.h
index c95a856..0b0afbe 100644
--- a/server/zalloc.h
+++ b/server/zalloc.h
@@ -1,6 +1,7 @@
/*
*/
+#ifndef INCLUDED_zalloc_h
#ifdef MPROF
inline void * zalloc (unsigned int sz) {
return malloc (sz);
@@ -12,3 +13,5 @@ inline void zfree (void *ptr, unsigned int sz) {
extern void * zalloc (unsigned int);
extern void zfree (void *, unsigned int);
#endif
+#define INCLUDED_zalloc_h
+#endif