diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
commit | ba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch) | |
tree | 27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /spectro/munki.c | |
parent | 69aec3b712232e93600ecd741269fed1f90b412a (diff) | |
parent | 3abb40d43649adb3807180692d8579c405524675 (diff) |
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'spectro/munki.c')
-rwxr-xr-x[-rw-r--r--] | spectro/munki.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spectro/munki.c b/spectro/munki.c index 16cd863..306f1dc 100644..100755 --- a/spectro/munki.c +++ b/spectro/munki.c @@ -49,6 +49,7 @@ #include "sa_config.h" #include "numsup.h" #endif /* SALONEINSTLIB */ +#include "cgats.h" #include "xspect.h" #include "insttypes.h" #include "conv.h" @@ -1012,7 +1013,7 @@ munki_del(inst *pp) { } /* Constructor */ -extern munki *new_munki(icoms *icom, instType itype) { +extern munki *new_munki(icoms *icom, instType dtype) { munki *p; int rv; if ((p = (munki *)calloc(sizeof(munki),1)) == NULL) { @@ -1043,7 +1044,7 @@ extern munki *new_munki(icoms *icom, instType itype) { p->del = munki_del; p->icom = icom; - p->itype = itype; + p->dtype = dtype; /* Preliminary capabilities */ munki_determine_capabilities(p); |