summaryrefslogtreecommitdiff
path: root/libstore/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/make.c')
-rw-r--r--libstore/make.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libstore/make.c b/libstore/make.c
index 29dc79fd..7c8ed717 100644
--- a/libstore/make.c
+++ b/libstore/make.c
@@ -20,8 +20,11 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include <malloc.h>
+
#include "store.h"
+/* Allocate a new store structure of class CLASS, with meths METHS. */
struct store *
_make_store (enum file_storage_class class, struct store_meths *meths)
{
@@ -46,7 +49,7 @@ _make_store (enum file_storage_class class, struct store_meths *meths)
}
void
-_store_free (struct store *store)
+store_free (struct store *store)
{
if (store->port)
mach_port_deallocate (mach_task_self (), store->port);