summaryrefslogtreecommitdiff
path: root/spectro/ex1.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/ex1.c')
-rw-r--r--spectro/ex1.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/spectro/ex1.c b/spectro/ex1.c
index b336cbc..93d0a31 100644
--- a/spectro/ex1.c
+++ b/spectro/ex1.c
@@ -147,10 +147,6 @@ static int ex1_set_boxcar(ex1 *p, int nobox);
static int ex1_measure(ex1 *p, double *raw);
-static int ex1_save_calibration(ex1 *p);
-static int ex1_restore_calibration(ex1 *p);
-static int ex1_touch_calibration(ex1 *p);
-
/* ----------------------------------------------------------------- */
/* Establish communications with a ex1 */
@@ -1042,7 +1038,6 @@ ex1_del(inst *pp) {
if (p->conv != NULL)
p->conv->del(p->conv);
- p->vdel(pp);
free(p);
}
}
@@ -1239,7 +1234,7 @@ extern ex1 *new_ex1(icoms *icom, instType itype) {
/* =============================================================================== */
/* Calibration info save/restore */
-static int ex1_save_calibration(ex1 *p) {
+int ex1_save_calibration(ex1 *p) {
int ev = EX1_OK;
int i;
char fname[100]; /* Name */
@@ -1285,7 +1280,7 @@ static int ex1_save_calibration(ex1 *p) {
}
/* Restore the all modes calibration from the local system */
-static int ex1_restore_calibration(ex1 *p) {
+int ex1_restore_calibration(ex1 *p) {
int ev = EX1_OK;
int i, j;
char fname[100]; /* Name */
@@ -1358,7 +1353,7 @@ static int ex1_restore_calibration(ex1 *p) {
return ev;
}
-static int ex1_touch_calibration(ex1 *p) {
+int ex1_touch_calibration(ex1 *p) {
int ev = EX1_OK;
char fname[100]; /* Name */
int rv;