cabinet: Declare a function static.
This commit is contained in:
parent
10a422ae14
commit
184dbe7e63
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue