Title: [225962] trunk/Source/WebCore/PAL
Revision
225962
Author
ddkil...@apple.com
Date
2017-12-14 21:22:36 -0800 (Thu, 14 Dec 2017)

Log Message

Fix 32-bit build: Enable -Wstrict-prototypes for WebKit
<https://webkit.org/b/180757>
<rdar://problem/36024132>

* pal/spi/mac/QuickDrawSPI.h:
(NewRgn): Add 'void' to C function declaration.
(PenNormal): Ditto.

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (225961 => 225962)


--- trunk/Source/WebCore/PAL/ChangeLog	2017-12-15 05:20:36 UTC (rev 225961)
+++ trunk/Source/WebCore/PAL/ChangeLog	2017-12-15 05:22:36 UTC (rev 225962)
@@ -1,5 +1,15 @@
 2017-12-14  David Kilzer  <ddkil...@apple.com>
 
+        Fix 32-bit build: Enable -Wstrict-prototypes for WebKit
+        <https://webkit.org/b/180757>
+        <rdar://problem/36024132>
+
+        * pal/spi/mac/QuickDrawSPI.h:
+        (NewRgn): Add 'void' to C function declaration.
+        (PenNormal): Ditto.
+
+2017-12-14  David Kilzer  <ddkil...@apple.com>
+
         Enable -Wstrict-prototypes for WebKit
         <https://webkit.org/b/180757>
         <rdar://problem/36024132>

Modified: trunk/Source/WebCore/PAL/pal/spi/mac/QuickDrawSPI.h (225961 => 225962)


--- trunk/Source/WebCore/PAL/pal/spi/mac/QuickDrawSPI.h	2017-12-15 05:20:36 UTC (rev 225961)
+++ trunk/Source/WebCore/PAL/pal/spi/mac/QuickDrawSPI.h	2017-12-15 05:22:36 UTC (rev 225962)
@@ -62,7 +62,7 @@
 Rect* GetRegionBounds(RgnHandle, Rect*);
 RgnHandle GetPortClipRegion(CGrafPtr, RgnHandle);
 RgnHandle GetPortVisibleRegion(CGrafPtr, RgnHandle);
-RgnHandle NewRgn();
+RgnHandle NewRgn(void);
 void BackColor(long);
 void CallDrawingNotifications(CGrafPtr, const Rect*, QDDrawingType);
 void DisposeGWorld(GWorldPtr);
@@ -78,7 +78,7 @@
 void OffsetRect(Rect*, short, short);
 void OffsetRgn(RgnHandle, short, short);
 void PaintRect(const Rect*);
-void PenNormal();
+void PenNormal(void);
 void PortSize(short, short);
 void RectRgn(RgnHandle, const Rect*);
 void SectRgn(RgnHandle, RgnHandle, RgnHandle);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to