mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Made crc32() a static function in libdtv/libsi/si_parser.c
This commit is contained in:
@@ -1226,7 +1226,6 @@ void siParseDescriptors (struct LIST *, u_char *, int, u_char);
|
||||
void siParseDescriptor (struct LIST *, u_char *);
|
||||
char *siGetDescriptorText (u_char *, int);
|
||||
char *siGetDescriptorName (u_char *, int);
|
||||
u_long crc32 (char *data, int len);
|
||||
|
||||
/* si_debug_services.c */
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#include "libsi.h"
|
||||
#include "si_tables.h"
|
||||
|
||||
|
||||
static u_long crc32 (char *data, int len);
|
||||
|
||||
struct LIST *siParsePAT (u_char *Buffer)
|
||||
{
|
||||
@@ -1323,7 +1323,7 @@ static u_long crc_table[256] = {
|
||||
0x933eb0bb, 0x97ffad0c, 0xafb010b1, 0xab710d06, 0xa6322bdf, 0xa2f33668,
|
||||
0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4};
|
||||
|
||||
u_long crc32 (char *data, int len)
|
||||
static u_long crc32 (char *data, int len)
|
||||
{
|
||||
register int i;
|
||||
u_long crc = 0xffffffff;
|
||||
|
Reference in New Issue
Block a user