forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibCore: compile puff.c as a separate object
- Loading branch information
1 parent
0343be3
commit 2aeae2a
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,10 @@ | |
Mark Adler [email protected] | ||
*/ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* | ||
* See puff.c for purpose and usage. | ||
*/ | ||
|
@@ -32,3 +36,7 @@ int puff(unsigned char* dest, /* pointer to destination pointer */ | |
unsigned long* destlen, /* amount of output space */ | ||
const unsigned char* source, /* pointer to source data pointer */ | ||
unsigned long* sourcelen); /* amount of input available */ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |