summaryrefslogtreecommitdiffstats
path: root/digikam/libs/lprof/cmsscn.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:45 +0900
commit15e0330f8ac92ed59952a569d9de20dcc8d00484 (patch)
tree6c9f3098070df614bdada6720bc12fb54267b193 /digikam/libs/lprof/cmsscn.cpp
parent83de0e9edd176e5fe92de0d3aa1a05584bf663ab (diff)
downloaddigikam-15e0330f8ac92ed59952a569d9de20dcc8d00484.tar.gz
digikam-15e0330f8ac92ed59952a569d9de20dcc8d00484.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'digikam/libs/lprof/cmsscn.cpp')
-rw-r--r--digikam/libs/lprof/cmsscn.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/digikam/libs/lprof/cmsscn.cpp b/digikam/libs/lprof/cmsscn.cpp
index 3714306..b99fed8 100644
--- a/digikam/libs/lprof/cmsscn.cpp
+++ b/digikam/libs/lprof/cmsscn.cpp
@@ -139,7 +139,7 @@ BOOL cmsxScannerProfilerInit(LPSCANNERPROFILERDATA sys)
/* Auxiliar: take RGB and update gauge */
static
-void GetRGB(LPPROFILERCOMMONDATA hdr, register WORD In[], double* r, double* g, double* b)
+void GetRGB(LPPROFILERCOMMONDATA hdr, WORD In[], double* r, double* g, double* b)
{
static int Count = 0, n_old = 0;
double R, G, B;
@@ -172,7 +172,7 @@ void GetRGB(LPPROFILERCOMMONDATA hdr, register WORD In[], double* r, double* g,
/* The sampler for Lab */
static
-int RegressionSamplerLab(register WORD In[], register WORD Out[], register LPVOID Cargo)
+int RegressionSamplerLab(WORD In[], WORD Out[], LPVOID Cargo)
{
cmsCIEXYZ xyz;
cmsCIELab Lab;
@@ -235,7 +235,7 @@ int RegressionSamplerLab(register WORD In[], register WORD Out[], register LPVOI
/* The sampler for XYZ */
static
-int RegressionSamplerXYZ(register WORD In[], register WORD Out[], register LPVOID Cargo)
+int RegressionSamplerXYZ(WORD In[], WORD Out[], LPVOID Cargo)
{
cmsCIEXYZ xyz;
double r, g, b;