From 3be7370fa8c22a5e2d49bde247664d29d113e1a0 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 12 Jul 2021 23:36:12 +0200 Subject: [PATCH] Add header with extern function prototypes --- src/spicelib/devices/cpl/cplhash.h | 12 ++++++++++++ src/spicelib/devices/cpl/cplsetup.c | 1 + 2 files changed, 13 insertions(+) create mode 100644 src/spicelib/devices/cpl/cplhash.h diff --git a/src/spicelib/devices/cpl/cplhash.h b/src/spicelib/devices/cpl/cplhash.h new file mode 100644 index 000000000..1a6c28007 --- /dev/null +++ b/src/spicelib/devices/cpl/cplhash.h @@ -0,0 +1,12 @@ +/********** +Copyright 2021 The ngspice team All rights +reserved. +Author: 2021 Holger Vogt +3-clause BSD license +**********/ + +/* cplhash.c */ +extern void mem_init(void); +extern void mem_delete(void); +extern int memsaved(void *ptr); +extern void memdeleted(const void *ptr); diff --git a/src/spicelib/devices/cpl/cplsetup.c b/src/spicelib/devices/cpl/cplsetup.c index 3913e6d83..9bd63a7e9 100644 --- a/src/spicelib/devices/cpl/cplsetup.c +++ b/src/spicelib/devices/cpl/cplsetup.c @@ -13,6 +13,7 @@ Modified: 2004 Paolo Nenzi - (ng)spice integration #include "ngspice/suffix.h" #include "ngspice/multi_line.h" +#include "cplhash.h"