summaryrefslogtreecommitdiffstats
path: root/usr.bin/compress
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
commit74d826c7a6e9f98072df5f7dba2b84aa516fe425 (patch)
tree6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/compress
parentce819c0c139981d7bab5fe36a6074af74b01d185 (diff)
downloadFreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.zip
FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.tar.gz
remove __P
Diffstat (limited to 'usr.bin/compress')
-rw-r--r--usr.bin/compress/compress.c14
-rw-r--r--usr.bin/compress/zopen.c14
-rw-r--r--usr.bin/compress/zopen.h2
3 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/compress/compress.c b/usr.bin/compress/compress.c
index 9b814eb..449ac95 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 1251d1b..20f9bfb 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 1a22de1..a27a4f9 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_ */
OpenPOWER on IntegriCloud