From 2304f172cd12cc37fd2f0ee3b5fd1bc07fcaf4be Mon Sep 17 00:00:00 2001
From: Jonathan Schleifer <js@webkeks.org>
Date: Fri, 10 Jan 2014 21:06:51 +0100
Subject: [PATCH 09/10] compress: Add missing return types and declarations.
---
src/bin/compress/compress.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/bin/compress/compress.c b/src/bin/compress/compress.c
index 7c6da280..b68283c 100644
a
|
b
|
void (*bgnd_flag)();
|
494 | 494 | |
495 | 495 | int do_decomp = 0; |
496 | 496 | |
| 497 | void compress(void); |
| 498 | void decompress(void); |
| 499 | void copystat(char *ifname, char *ofname); |
| 500 | |
497 | 501 | /***************************************************************** |
498 | 502 | * TAG( main ) |
499 | 503 | * |
… |
… |
long int out_count = 0; /* # of codes output (for debugging) */
|
947 | 951 | * questions about this implementation to ames!jaw. |
948 | 952 | */ |
949 | 953 | |
| 954 | void |
950 | 955 | compress() { |
951 | 956 | register long fcode; |
952 | 957 | register code_int i = 0; |
… |
… |
code_int code;
|
1215 | 1220 | * with those of the compress() routine. See the definitions above. |
1216 | 1221 | */ |
1217 | 1222 | |
| 1223 | void |
1218 | 1224 | decompress() { |
1219 | 1225 | |
1220 | 1226 | #ifdef BIG |
… |
… |
writeerr()
|
1515 | 1521 | exit ( 1 ); |
1516 | 1522 | } |
1517 | 1523 | |
1518 | | copystat(ifname, ofname) |
1519 | | char *ifname, *ofname; |
| 1524 | void |
| 1525 | copystat(char *ifname, char *ofname) |
1520 | 1526 | { |
1521 | 1527 | struct stat statbuf; |
1522 | 1528 | int mode; |