summaryrefslogtreecommitdiffstats
path: root/noatun/modules
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:37 +0900
commit6db8697910438fd063598f66a73b68d2dcd70a36 (patch)
tree17ad616e4add01128162bad2e8b2aec21ebd18de /noatun/modules
parentc1ac60f0fc2ba193f7219d25d727dec4fc97fd1b (diff)
downloadtdemultimedia-6db8697910438fd063598f66a73b68d2dcd70a36.tar.gz
tdemultimedia-6db8697910438fd063598f66a73b68d2dcd70a36.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'noatun/modules')
-rw-r--r--noatun/modules/kjofol-skin/kjwidget.cpp2
-rw-r--r--noatun/modules/kjofol-skin/kjwidget.h2
-rw-r--r--noatun/modules/winskin/vis/realFFT.cpp8
3 files changed, 6 insertions, 6 deletions
diff --git a/noatun/modules/kjofol-skin/kjwidget.cpp b/noatun/modules/kjofol-skin/kjwidget.cpp
index 737032cf..25aa2d48 100644
--- a/noatun/modules/kjofol-skin/kjwidget.cpp
+++ b/noatun/modules/kjofol-skin/kjwidget.cpp
@@ -18,7 +18,7 @@ KJWidget::KJWidget(KJLoader *p) : mParent(p)
{
}
-TQBitmap KJWidget::getMask(const TQImage &_rect, register TQRgb transparent)
+TQBitmap KJWidget::getMask(const TQImage &_rect, TQRgb transparent)
{
TQImage result(_rect.width(), _rect.height(), 1,2, TQImage::LittleEndian);
result.setColor(1, tqRgb(0,0,0));
diff --git a/noatun/modules/kjofol-skin/kjwidget.h b/noatun/modules/kjofol-skin/kjwidget.h
index f64d2226..5f1edcac 100644
--- a/noatun/modules/kjofol-skin/kjwidget.h
+++ b/noatun/modules/kjofol-skin/kjwidget.h
@@ -31,7 +31,7 @@ public:
virtual TQString tip() { return 0; }
public:
- static TQBitmap getMask(const TQImage &color, register TQRgb=tqRgb(255,0,255));
+ static TQBitmap getMask(const TQImage &color, TQRgb=tqRgb(255,0,255));
protected:
const TQString &backgroundPressed(const TQString &bmp) const;
diff --git a/noatun/modules/winskin/vis/realFFT.cpp b/noatun/modules/winskin/vis/realFFT.cpp
index 330280ea..4474df2d 100644
--- a/noatun/modules/winskin/vis/realFFT.cpp
+++ b/noatun/modules/winskin/vis/realFFT.cpp
@@ -51,7 +51,7 @@ RealFFT::RealFFT(int fftlen) {
for(i=0;i<Points/2;i++)
{
- register double s,c;
+ double s,c;
s=floor(-32768.0*sin(2*M_PI*i/(Points))+0.5);
c=floor(-32768.0*cos(2*M_PI*i/(Points))+0.5);
if(s>32767.5) s=32767;
@@ -102,8 +102,8 @@ void RealFFT::fft(short* buffer) {
while(A<endptr1)
{
- register short sin=*sptr;
- register short cos=*(sptr+1);
+ short sin=*sptr;
+ short cos=*(sptr+1);
endptr2=B;
while(A<endptr2)
{
@@ -128,7 +128,7 @@ void RealFFT::fft(short* buffer) {
while(br1<=br2)
{
- register long temp1,temp2;
+ long temp1,temp2;
short sin=SinTable[*br1];
short cos=SinTable[*br1+1];
A=buffer+*br1;