Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / external / lcms2 / c++17.patch.0
blob9a9de3f04c83f5dc340dd3aab1497732e07f4432
1 --- include/lcms2.h
2 +++ include/lcms2.h
3 @@ -1248,13 +1248,13 @@
4  CMSAPI void*             CMSEXPORT cmsStageData(const cmsStage* mpe);
5  
6  // Sampling
7 -typedef cmsInt32Number (* cmsSAMPLER16)   (register const cmsUInt16Number In[],
8 -                                            register cmsUInt16Number Out[],
9 -                                            register void * Cargo);
10 +typedef cmsInt32Number (* cmsSAMPLER16)   (const cmsUInt16Number In[],
11 +                                            cmsUInt16Number Out[],
12 +                                            void * Cargo);
14 -typedef cmsInt32Number (* cmsSAMPLERFLOAT)(register const cmsFloat32Number In[],
15 -                                            register cmsFloat32Number Out[],
16 -                                            register void * Cargo);
17 +typedef cmsInt32Number (* cmsSAMPLERFLOAT)(const cmsFloat32Number In[],
18 +                                            cmsFloat32Number Out[],
19 +                                            void * Cargo);
21  // Use this flag to prevent changes being written to destination
22  #define SAMPLER_INSPECT     0x01000000