summaryrefslogtreecommitdiff
path: root/third_party/lcms/0029-drop-register-keyword.patch
blob: 7680f2c4457913defbf8d79b414cab83f66ec6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/third_party/lcms/include/lcms2.h b/third_party/lcms/include/lcms2.h
index c84a4fd93..2bf6f2472 100644
--- a/third_party/lcms/include/lcms2.h
+++ b/third_party/lcms/include/lcms2.h
@@ -1239,13 +1239,13 @@ CMSAPI cmsStageSignature CMSEXPORT cmsStageType(const cmsStage* mpe);
 CMSAPI void*             CMSEXPORT cmsStageData(const cmsStage* mpe);
 
 // Sampling
-typedef cmsInt32Number (* cmsSAMPLER16)   (register const cmsUInt16Number In[],
-                                            register cmsUInt16Number Out[],
-                                            register void * Cargo);
+typedef cmsInt32Number (*cmsSAMPLER16)(const cmsUInt16Number In[],
+                                       cmsUInt16Number Out[],
+                                       void* Cargo);
 
-typedef cmsInt32Number (* cmsSAMPLERFLOAT)(register const cmsFloat32Number In[],
-                                            register cmsFloat32Number Out[],
-                                            register void * Cargo);
+typedef cmsInt32Number (*cmsSAMPLERFLOAT)(const cmsFloat32Number In[],
+                                          cmsFloat32Number Out[],
+                                          void* Cargo);
 
 // Use this flag to prevent changes being written to destination
 #define SAMPLER_INSPECT     0x01000000