artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190b938
)
Remove unused zclose function.
author
fcambus
<fcambus@openbsd.org>
Mon, 29 May 2017 14:41:16 +0000
(14:41 +0000)
committer
fcambus
<fcambus@openbsd.org>
Mon, 29 May 2017 14:41:16 +0000
(14:41 +0000)
From Brian Callahan, thanks!
OK tb@
usr.bin/compress/zopen.c
patch
|
blob
|
history
diff --git
a/usr.bin/compress/zopen.c
b/usr.bin/compress/zopen.c
index
dc41668
..
e25f310
100644
(file)
--- a/
usr.bin/compress/zopen.c
+++ b/
usr.bin/compress/zopen.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: zopen.c,v 1.2
1 2016/09/03 11:41:10 tedu Exp $
*/
+/* $OpenBSD: zopen.c,v 1.2
2 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: