xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 10 14:59:03 UTC 2024


 mi/misprite.h |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

New commits:
commit 91a67c7fcccd32cb36c45b1eb439924ef8f53f12
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Mon Apr 22 12:13:41 2024 +0200

    mi: misprite.h: drop unnecessary extern on functions
    
    By C standard, functions are always extern if not specified otherwise.
    
    Signed-off-by: Enrico Weigelt, metux IT consult <info at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1501>

diff --git a/mi/misprite.h b/mi/misprite.h
index 099cd0e38..aa67f3229 100644
--- a/mi/misprite.h
+++ b/mi/misprite.h
@@ -31,18 +31,16 @@ used in advertising or otherwise to promote the sale, use or other dealings
 in this Software without prior written authorization from The Open Group.
 */
 
-extern Bool miSpriteInitialize(ScreenPtr /*pScreen */ ,
-                               miPointerScreenFuncPtr   /*screenFuncs */
-    );
-
-extern Bool miDCRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
-extern Bool miDCUnrealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
-extern Bool miDCPutUpCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
-                            CursorPtr pCursor, int x, int y,
-                            unsigned long source, unsigned long mask);
-extern Bool miDCSaveUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
-                                int x, int y, int w, int h);
-extern Bool miDCRestoreUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
-                                   int x, int y, int w, int h);
-extern Bool miDCDeviceInitialize(DeviceIntPtr pDev, ScreenPtr pScreen);
-extern void miDCDeviceCleanup(DeviceIntPtr pDev, ScreenPtr pScreen);
+Bool miSpriteInitialize(ScreenPtr pScreen, miPointerScreenFuncPtr screenFuncs);
+
+Bool miDCRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
+Bool miDCUnrealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
+Bool miDCPutUpCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
+                     CursorPtr pCursor, int x, int y,
+                     unsigned long source, unsigned long mask);
+Bool miDCSaveUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
+                         int x, int y, int w, int h);
+Bool miDCRestoreUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
+                            int x, int y, int w, int h);
+Bool miDCDeviceInitialize(DeviceIntPtr pDev, ScreenPtr pScreen);
+void miDCDeviceCleanup(DeviceIntPtr pDev, ScreenPtr pScreen);


More information about the xorg-commit mailing list