From d54d8ae9757fdafe318b38f321bf122ae2e5b8f9 Mon Sep 17 00:00:00 2001 From: fcambus Date: Mon, 29 May 2017 14:41:16 +0000 Subject: [PATCH] Remove unused zclose function. From Brian Callahan, thanks! OK tb@ --- usr.bin/compress/zopen.c | 8 +------- 1 file changed, 1 insertion(+), 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: -- 2.20.1