diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-05-01 16:49:45 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-05-11 18:54:20 +0200 |
commit | 270a98bafedfbdfb8089361e8f2cb13903a1c4be (patch) | |
tree | 8a89623202995c3a92108807526fa407ad69fd7a /nx-X11 | |
parent | bf9e9a8e5f8ae46fc0c4c4937c425f9fa2efe51e (diff) | |
download | nx-libs-270a98bafedfbdfb8089361e8f2cb13903a1c4be.tar.gz nx-libs-270a98bafedfbdfb8089361e8f2cb13903a1c4be.tar.bz2 nx-libs-270a98bafedfbdfb8089361e8f2cb13903a1c4be.zip |
Screen.c: use NULL instead of ugly void pointer stuff
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index e13033af1..fb530f788 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -1534,8 +1534,8 @@ N/A pScreen->SaveScreen = nxagentSaveScreen; pScreen->GetImage = nxagentGetImage; pScreen->GetSpans = nxagentGetSpans; - pScreen->PointerNonInterestBox = (void (*)()) 0; - pScreen->SourceValidate = (void (*)()) 0; + pScreen->PointerNonInterestBox = NULL; + pScreen->SourceValidate = NULL; pScreen->CreateScreenResources = nxagentCreateScreenResources; @@ -1611,12 +1611,12 @@ N/A * Backing store procedures. */ - pScreen->SaveDoomedAreas = (void (*)()) 0; - pScreen->RestoreAreas = (RegionPtr (*)()) 0; - pScreen->ExposeCopy = (void (*)()) 0; - pScreen->TranslateBackingStore = (RegionPtr (*)()) 0; - pScreen->ClearBackingStore = (RegionPtr (*)()) 0; - pScreen->DrawGuarantee = (void (*)()) 0; + pScreen->SaveDoomedAreas = NULL; + pScreen->RestoreAreas = NULL; + pScreen->ExposeCopy = NULL; + pScreen->TranslateBackingStore = NULL; + pScreen->ClearBackingStore = NULL; + pScreen->DrawGuarantee = NULL; if (enableBackingStore) { |