diff --git a/coders/jpeg.c b/coders/jpeg.c
index c64b380..70c188b 100644
--- a/coders/jpeg.c
+++ b/coders/jpeg.c
@@ -1154,13 +1154,13 @@
   for (y=0; y < (long) image->rows; y++)
   {
     register IndexPacket
-      *__restrict indexes;
+      *restrict indexes;
 
     register long
       x;
 
     register PixelPacket
-      *__restrict q;
+      *restrict q;
 
     if (jpeg_read_scanlines(&jpeg_info,scanline,1) != 1)
       {