diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
| commit | f1bb2cd2aa7488657658fbc09aae2ead579049ab (patch) | |
| tree | 6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/compress | |
| parent | 9f6092398b2ada850e3149754f08600fdff7caaa (diff) | |
Notes
Diffstat (limited to 'usr.bin/compress')
| -rw-r--r-- | usr.bin/compress/compress.c | 14 | ||||
| -rw-r--r-- | usr.bin/compress/zopen.c | 14 | ||||
| -rw-r--r-- | usr.bin/compress/zopen.h | 2 |
3 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/compress/compress.c b/usr.bin/compress/compress.c index 9b814ebe0915d..449ac95cae7b8 100644 --- a/usr.bin/compress/compress.c +++ b/usr.bin/compress/compress.c @@ -65,13 +65,13 @@ __FBSDID("$FreeBSD$"); #include "zopen.h" -void compress __P((const char *, const char *, int)); -void cwarn __P((const char *, ...)) __printflike(1, 2); -void cwarnx __P((const char *, ...)) __printflike(1, 2); -void decompress __P((const char *, const char *, int)); -int permission __P((const char *)); -void setfile __P((const char *, struct stat *)); -void usage __P((int)); +void compress(const char *, const char *, int); +void cwarn(const char *, ...) __printflike(1, 2); +void cwarnx(const char *, ...) __printflike(1, 2); +void decompress(const char *, const char *, int); +int permission(const char *); +void setfile(const char *, struct stat *); +void usage(int); int eval, force, verbose; diff --git a/usr.bin/compress/zopen.c b/usr.bin/compress/zopen.c index 1251d1bbe286d..20f9bfbda308a 100644 --- a/usr.bin/compress/zopen.c +++ b/usr.bin/compress/zopen.c @@ -201,13 +201,13 @@ struct s_zstate { #define FIRST 257 /* First free entry. */ #define CLEAR 256 /* Table clear output code. */ -static int cl_block __P((struct s_zstate *)); -static void cl_hash __P((struct s_zstate *, count_int)); -static code_int getcode __P((struct s_zstate *)); -static int output __P((struct s_zstate *, code_int)); -static int zclose __P((void *)); -static int zread __P((void *, char *, int)); -static int zwrite __P((void *, const char *, int)); +static int cl_block(struct s_zstate *); +static void cl_hash(struct s_zstate *, count_int); +static code_int getcode(struct s_zstate *); +static int output(struct s_zstate *, code_int); +static int zclose(void *); +static int zread(void *, char *, int); +static int zwrite(void *, const char *, int); /*- * Algorithm from "A Technique for High Performance Data Compression", diff --git a/usr.bin/compress/zopen.h b/usr.bin/compress/zopen.h index 1a22de12cab3c..a27a4f9b98aa2 100644 --- a/usr.bin/compress/zopen.h +++ b/usr.bin/compress/zopen.h @@ -29,6 +29,6 @@ #ifndef _ZOPEN_H_ #define _ZOPEN_H_ -FILE *zopen __P((const char *, const char *, int)); +FILE *zopen(const char *, const char *, int); #endif /* _ZOPEN_H_ */ |
