summaryrefslogtreecommitdiff
path: root/usr.bin/compress/zopen.c
diff options
context:
space:
mode:
authorFrederic Cambus <fcambus@cvs.openbsd.org>2017-05-29 14:41:17 +0000
committerFrederic Cambus <fcambus@cvs.openbsd.org>2017-05-29 14:41:17 +0000
commita234aa6c27964d9296102670ab83142e879899af (patch)
tree6b666ac64e83ceda0c95ea3caf5f79dc76d8fb4f /usr.bin/compress/zopen.c
parent7a64f5a180e8b77b13e8ae8d25fb08d8c58f93af (diff)
Remove unused zclose function.
From Brian Callahan, thanks! OK tb@
Diffstat (limited to 'usr.bin/compress/zopen.c')
-rw-r--r--usr.bin/compress/zopen.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/compress/zopen.c b/usr.bin/compress/zopen.c
index dc416680e60..e25f3106d20 100644
--- a/usr.bin/compress/zopen.c
+++ b/usr.bin/compress/zopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zopen.c,v 1.21 2016/09/03 11:41:10 tedu Exp $ */
+/* $OpenBSD: zopen.c,v 1.22 2017/05/29 14:41:16 fcambus Exp $ */
/* $NetBSD: zopen.c,v 1.5 1995/03/26 09:44:53 glass Exp $ */
/*-
@@ -343,12 +343,6 @@ z_close(void *cookie, struct z_info *info, const char *name, struct stat *sb)
return (rval);
}
-static int
-zclose(void *cookie)
-{
- return z_close(cookie, NULL, NULL, NULL);
-}
-
/*-
* Output the given code.
* Inputs: