File incompatible-pointer-types.patch of Package dvbsnoop
---
src/misc/sig_abort.c | 4 ++--
src/private/userdefs.c | 2 +-
src/private/userdefs.h | 4 ++--
src/sections/sectables.c | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
--- a/src/misc/sig_abort.c
+++ b/src/misc/sig_abort.c
@@ -48,8 +48,8 @@ static void NullHandler (int sig_nr);
// catch these signals
static struct {
int sig;
- void (*new_handler)();
- void (*org_handler)();
+ void (*new_handler)(int);
+ void (*org_handler)(int);
} signalList[] = {
{ SIGHUP, SmoothHandler, NullHandler }, // -1 terminate smoothly
{ SIGQUIT, SmoothHandler, NullHandler }, // -3 terminate smoothly
--- a/src/private/userdefs.c
+++ b/src/private/userdefs.c
@@ -69,7 +69,7 @@ Revision 1.1 2004/11/03 21:01:00 rasc
typedef struct _PRIVATE_PROVIDER_FUNC {
char *str; /* e.g. "premiere.de" */
- void (*func)(); /* function for getting table & descriptors */
+ void (*func)(struct _PRIVATE_SECTION_STRUCTURES_FUNC **, struct _PRIVATE_DESCRIPTOR_STRUCTURES_FUNC **); /* function for getting table & descriptors */
} PRIV_PROVIDER_FUNC;
--- a/src/private/userdefs.h
+++ b/src/private/userdefs.h
@@ -25,14 +25,14 @@ $Id: userdefs.h,v 1.3 2005/12/29 02:43:3
typedef struct _PRIVATE_SECTION_STRUCTURES_FUNC {
u_int table_id; /* section table ID */
- void (*func)(); /* function for table decoding */
+ void (*func)(unsigned char *, int); /* function for table decoding */
} PRIV_SECTION_ID_FUNC;
typedef struct _PRIVATE_DESCRIPTOR_STRUCTURES_FUNC {
u_int descriptor_tag; /* descriptor tag ID */
DTAG_SCOPE tag_scope; /* MPEG, DVB_SI, DSMCC_STREAM, ... */
- void (*func)(); /* function for descriptor decoding */
+ void (*func)(unsigned char *); /* function for descriptor decoding */
} PRIV_DESCR_ID_FUNC;
--- a/src/sections/sectables.c
+++ b/src/sections/sectables.c
@@ -317,7 +317,7 @@ void decodeSI_packet (u_char *buf, int l
typedef struct _TABLE_IF_FUNC {
u_int from; /* e.g. from id 1 */
u_int to; /* to id 3 */
- void (*func)(); /* function for table decoding */
+ void (*func)(unsigned char *, int); /* function for table decoding */
} TABLE_ID_FUNC;