cabinet: Declare a function static.

This commit is contained in:
Andrew Talbot 2009-02-07 14:32:50 +00:00 committed by Alexandre Julliard
parent 76f4b9b053
commit 9a079a64e6
2 changed files with 2 additions and 4 deletions

View file

@ -653,7 +653,4 @@ typedef struct {
struct FILELIST *FilterList;
} SESSION;
/* from fdi.c */
int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length, cab_UWORD *table);
#endif /* __WINE_CABINET_H */

View file

@ -220,7 +220,8 @@ static void QTMupdatemodel(struct QTMmodel *model, int sym) {
* OK: 0
* error: 1
*/
int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length, cab_UWORD *table) {
static int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits,
const cab_UBYTE *length, cab_UWORD *table) {
register cab_UWORD sym;
register cab_ULONG leaf;
register cab_UBYTE bit_num = 1;