]> cvs.zerfleddert.de Git - micropolis/blobdiff - src/tk/tkpresrv.c
Fixes for compilation with gcc 15
[micropolis] / src / tk / tkpresrv.c
index a7e0c053a459326b2ef19272975478bedba38baa..8cee711e4c76ad2c48708bb1ed3d532d9384b86c 100644 (file)
@@ -67,8 +67,9 @@ static int inUse = 0;         /* Count of structures currently in use
  */
 
 void
-Tk_Preserve(clientData)
-    ClientData clientData;     /* Pointer to malloc'ed block of memory. */
+Tk_Preserve(
+    ClientData clientData      /* Pointer to malloc'ed block of memory. */
+)
 {
     register Reference *refPtr;
     int i;
@@ -139,8 +140,9 @@ Tk_Preserve(clientData)
  */
 
 void
-Tk_Release(clientData)
-    ClientData clientData;     /* Pointer to malloc'ed block of memory. */
+Tk_Release(
+    ClientData clientData      /* Pointer to malloc'ed block of memory. */
+)
 {
     register Reference *refPtr;
     int i;
@@ -200,9 +202,10 @@ Tk_Release(clientData)
  */
 
 void
-Tk_EventuallyFree(clientData, freeProc)
-    ClientData clientData;     /* Pointer to malloc'ed block of memory. */
-    Tk_FreeProc *freeProc;     /* Procedure to actually do free. */
+Tk_EventuallyFree(
+    ClientData clientData,     /* Pointer to malloc'ed block of memory. */
+    Tk_FreeProc *freeProc      /* Procedure to actually do free. */
+)
 {
     register Reference *refPtr;
     int i;
Impressum, Datenschutz