summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2015-05-08 13:27:56 +0200
committerJulien Cristau <jcristau@debian.org>2015-05-08 13:51:26 +0200
commitd06454e89384957fa2b77ff35b35108dc657a510 (patch)
treefc476d9748308d799a9bed29276024ec1c8c2470
parent6073828547bdff86d147ab54accb12bc4230d6aa (diff)
Fix BlockHandler declaration
smi_video.c: In function 'SMI_SetupVideo': smi_video.c:940:24: warning: assignment from incompatible pointer type pSmi->BlockHandler = pScreen->BlockHandler; ^ Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--src/smi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/smi.h b/src/smi.h
index dce82e6..9d6671a 100644
--- a/src/smi.h
+++ b/src/smi.h
@@ -276,8 +276,7 @@ typedef struct
Bool interlaced; /* True: Interlaced Video */
XF86VideoAdaptorPtr ptrAdaptor; /* Pointer to VideoAdapter
structure */
- void (*BlockHandler)(int i, pointer blockData, pointer pTimeout,
- pointer pReadMask);
+ void (*BlockHandler)(BLOCKHANDLER_ARGS_DECL);
#if SMI501_CLI_DEBUG
/* SMI 501/502 Command List Interpreter */
Bool batch_active;