cabinet: Declare a function static.

This commit is contained in:
Andrew Talbot 2009-01-02 12:54:42 +00:00 committed by Alexandre Julliard
parent 10a422ae14
commit 184dbe7e63
2 changed files with 1 additions and 2 deletions

View File

@ -656,6 +656,5 @@ typedef struct {
/* from fdi.c */
void QTMupdatemodel(struct QTMmodel *model, int sym);
int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length, cab_UWORD *table);
cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum);
#endif /* __WINE_CABINET_H */

View File

@ -293,7 +293,7 @@ int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length,
/*************************************************************************
* checksum (internal)
*/
cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum) {
static cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum) {
int len;
cab_ULONG ul = 0;