compress: Add missing return types and declarations.
This commit is contained in:
committed by
Stephan Aßmus
parent
04a0e9c7b6
commit
b187bd95a0
@@ -494,6 +494,10 @@ void (*bgnd_flag)();
|
|||||||
|
|
||||||
int do_decomp = 0;
|
int do_decomp = 0;
|
||||||
|
|
||||||
|
void compress(void);
|
||||||
|
void decompress(void);
|
||||||
|
void copystat(char *ifname, char *ofname);
|
||||||
|
|
||||||
/*****************************************************************
|
/*****************************************************************
|
||||||
* TAG( main )
|
* TAG( main )
|
||||||
*
|
*
|
||||||
@@ -947,6 +951,7 @@ long int out_count = 0; /* # of codes output (for debugging) */
|
|||||||
* questions about this implementation to ames!jaw.
|
* questions about this implementation to ames!jaw.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
compress() {
|
compress() {
|
||||||
register long fcode;
|
register long fcode;
|
||||||
register code_int i = 0;
|
register code_int i = 0;
|
||||||
@@ -1215,6 +1220,7 @@ code_int code;
|
|||||||
* with those of the compress() routine. See the definitions above.
|
* with those of the compress() routine. See the definitions above.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
decompress() {
|
decompress() {
|
||||||
|
|
||||||
#ifdef BIG
|
#ifdef BIG
|
||||||
@@ -1515,8 +1521,8 @@ writeerr()
|
|||||||
exit ( 1 );
|
exit ( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
copystat(ifname, ofname)
|
void
|
||||||
char *ifname, *ofname;
|
copystat(char *ifname, char *ofname)
|
||||||
{
|
{
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
int mode;
|
int mode;
|
||||||
|
|||||||
Reference in New Issue
Block a user