1*c5535c91SAndrew GeisslerFrom bad6131463275bd8013a82c28fb0b27e882bc801 Mon Sep 17 00:00:00 2001 2*c5535c91SAndrew GeisslerFrom: Khem Raj <raj.khem@gmail.com> 3*c5535c91SAndrew GeisslerDate: Wed, 18 Jan 2023 16:07:35 -0800 4*c5535c91SAndrew GeisslerSubject: [PATCH] Drop using 'register' keyword for storage classifier 5*c5535c91SAndrew Geissler 6*c5535c91SAndrew GeisslerIts gone from C++17 and newer 7*c5535c91SAndrew Geissler 8*c5535c91SAndrew GeisslerUpstream-Status: Pending 9*c5535c91SAndrew GeisslerSigned-off-by: Khem Raj <raj.khem@gmail.com> 10*c5535c91SAndrew Geissler--- 11*c5535c91SAndrew Geissler src/klatt.cpp | 4 ++-- 12*c5535c91SAndrew Geissler 1 file changed, 2 insertions(+), 2 deletions(-) 13*c5535c91SAndrew Geissler 14*c5535c91SAndrew Geisslerdiff --git a/src/klatt.cpp b/src/klatt.cpp 15*c5535c91SAndrew Geisslerindex b15f77c..9c51bc5 100755 16*c5535c91SAndrew Geissler--- a/src/klatt.cpp 17*c5535c91SAndrew Geissler+++ b/src/klatt.cpp 18*c5535c91SAndrew Geissler@@ -167,7 +167,7 @@ Output = (rnz.a * input) + (rnz.b * oldin1) + (rnz.c * oldin2) 19*c5535c91SAndrew Geissler #ifdef deleted 20*c5535c91SAndrew Geissler static double antiresonator(resonator_ptr r, double input) 21*c5535c91SAndrew Geissler { 22*c5535c91SAndrew Geissler- register double x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2; 23*c5535c91SAndrew Geissler+ double x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2; 24*c5535c91SAndrew Geissler r->p2 = (double)r->p1; 25*c5535c91SAndrew Geissler r->p1 = (double)input; 26*c5535c91SAndrew Geissler return (double)x; 27*c5535c91SAndrew Geissler@@ -176,7 +176,7 @@ static double antiresonator(resonator_ptr r, double input) 28*c5535c91SAndrew Geissler 29*c5535c91SAndrew Geissler static double antiresonator2(resonator_ptr r, double input) 30*c5535c91SAndrew Geissler { 31*c5535c91SAndrew Geissler- register double x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2; 32*c5535c91SAndrew Geissler+ double x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2; 33*c5535c91SAndrew Geissler r->p2 = (double)r->p1; 34*c5535c91SAndrew Geissler r->p1 = (double)input; 35*c5535c91SAndrew Geissler 36*c5535c91SAndrew Geissler-- 37*c5535c91SAndrew Geissler2.39.1 38*c5535c91SAndrew Geissler 39