summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfcambus <fcambus@openbsd.org>2017-05-29 14:41:16 +0000
committerfcambus <fcambus@openbsd.org>2017-05-29 14:41:16 +0000
commitd54d8ae9757fdafe318b38f321bf122ae2e5b8f9 (patch)
treefc8e7917f6f76f1f43db260935af2c60fa731b81
parentopenbsd does not use nonexec stack segment header hints. (diff)
downloadwireguard-openbsd-d54d8ae9757fdafe318b38f321bf122ae2e5b8f9.tar.xz
wireguard-openbsd-d54d8ae9757fdafe318b38f321bf122ae2e5b8f9.zip
Remove unused zclose function.
From Brian Callahan, thanks! OK tb@
-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: