ref: 4f25ed6ee372acb3011c6fbd5da747aa0f0f62cb
parent: b38542e7b250375800f356dcd44f5e9970221515
author: robs <robs>
date: Sun Dec 31 13:48:58 EST 2006
Remove some calls to exit() from stlib.
--- a/src/band.c
+++ b/src/band.c
@@ -125,7 +125,7 @@
, band->B
, band->C
);
- exit(0);
+ return ST_EOF;
}
return (ST_SUCCESS);
}
--- a/src/biquad.c
+++ b/src/biquad.c
@@ -38,7 +38,7 @@
, effp->ininfo.rate, effp->ininfo.rate
, p->b0, p->b1, p->b2, p->a1, p->a2
);
- exit(0);
+ return ST_EOF;
}
p->o2 = p->o1 = p->i2 = p-> i1 = 0;
--- a/src/btrworth.c
+++ b/src/btrworth.c
@@ -71,7 +71,7 @@
, butterworth->b[0]
, butterworth->b[1]
);
- exit(0);
+ return ST_EOF;
}
}
--- a/src/deemphas.c
+++ b/src/deemphas.c
@@ -162,7 +162,7 @@
, effp->ininfo.rate, effp->ininfo.rate
, b0, b1, a1
);
- exit(0);
+ return ST_EOF;
}
return (ST_SUCCESS);
}
--- a/src/highp.c
+++ b/src/highp.c
@@ -91,7 +91,7 @@
, effp->ininfo.rate, effp->ininfo.rate
, highp->A0, highp->A1, -highp->B1
);
- exit(0);
+ return ST_EOF;
}
return (ST_SUCCESS);
}
--- a/src/lowp.c
+++ b/src/lowp.c
@@ -87,7 +87,7 @@
, effp->ininfo.rate, effp->ininfo.rate
, lowp->A, -lowp->B
);
- exit(0);
+ return ST_EOF;
}
return (ST_SUCCESS);
}