1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
From: Ole Streicher <olebole@debian.org>
Date: Wed, 10 Sep 2025 12:48:08 +0200
Subject: Add arguments to function declarations
Closes: #1097844
---
tksao/iis/iis.c | 18 +++++++++---------
tksao/iis/ximtool.h | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/tksao/iis/iis.c b/tksao/iis/iis.c
index eb34b96..4882166 100644
--- a/tksao/iis/iis.c
+++ b/tksao/iis/iis.c
@@ -97,17 +97,17 @@ static int *wcspix_enabled = NULL;
static int iis_debug = -1; /* protocol debug */
-static void set_fbconfig(), add_mapping();
-static void xim_connectClient(), xim_disconnectClient();
-static int chan_read(), chan_write(), decode_frameno();
+static void set_fbconfig(IoChanPtr, int, int), add_mapping(XimDataPtr, CtranPtr, char*, FrameBufPtr);
+static void xim_connectClient(IoChanPtr, int *, XtPointer), xim_disconnectClient(IoChanPtr);
+static int chan_read(int, void*, int), chan_write(int, void*, int), decode_frameno(int);
-static CtranPtr wcs_update();
-static IoChanPtr open_fifo();
-static IoChanPtr open_inet();
+static CtranPtr wcs_update(XimDataPtr, FrameBufPtr);
+static IoChanPtr open_fifo(XimDataPtr);
+static IoChanPtr open_inet(XimDataPtr);
#ifdef HAVE_SYS_UN_H
-static IoChanPtr open_unix();
+static IoChanPtr open_unix(XimDataPtr);
#endif
-static IoChanPtr get_iochan();
+static IoChanPtr get_iochan(XimDataPtr);
static MappingPtr xim_getMapping(XimDataPtr, float, float, int);
static void print_mappings(FrameBufPtr fr);
#ifndef __WIN32
@@ -493,7 +493,7 @@ static IoChanPtr get_iochan(XimDataPtr xim)
/* XIM_IISIO -- Xt file i/o callback procedure, called when there is input
* pending on the data stream to the ximtool client.
*/
-void xim_iisio (IoChanPtr chan, int *fd_addr, XtInputId *id_addr)
+void xim_iisio (IoChanPtr chan, int *fd_addr, void *id_addr)
{
XimDataPtr xim = (XimDataPtr) chan->xim;
MappingPtr mp = (MappingPtr) NULL;
diff --git a/tksao/iis/ximtool.h b/tksao/iis/ximtool.h
index bba703c..19a1803 100644
--- a/tksao/iis/ximtool.h
+++ b/tksao/iis/ximtool.h
@@ -326,6 +326,6 @@ typedef struct {
#define max(a,b) ((a)<(b)?(b):(a))
#endif
-void xim_iisio();
+void xim_iisio(IoChan*, int*, void*);
#endif
|