Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5679
b: refs/heads/master
c: 243393c
h: refs/heads/master
i:
  5677: fe485f5
  5675: 746a321
  5671: 44634c5
  5663: 73bc119
v: v3
  • Loading branch information
Linus Torvalds committed Aug 6, 2005
1 parent efb6483 commit e4c59d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 021a52ac70802a94e699badb52af9d0fa728d5cd
refs/heads/master: 243393c90f2b7cb781fd794e22786e9c8547901a
5 changes: 5 additions & 0 deletions trunk/include/linux/zlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,11 @@ extern int zlib_deflateReset (z_streamp strm);
stream state was inconsistent (such as zalloc or state being NULL).
*/

static inline unsigned long deflateBound(unsigned long s)
{
return s + ((s + 7) >> 3) + ((s + 63) >> 6) + 11;
}

extern int zlib_deflateParams (z_streamp strm, int level, int strategy);
/*
Dynamically update the compression level and compression strategy. The
Expand Down

0 comments on commit e4c59d7

Please sign in to comment.