diff options
Diffstat (limited to 'src/usr.bin/signify/zsig.c')
-rw-r--r-- | src/usr.bin/signify/zsig.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/usr.bin/signify/zsig.c b/src/usr.bin/signify/zsig.c index d721d8a..5538065 100644 --- a/src/usr.bin/signify/zsig.c +++ b/src/usr.bin/signify/zsig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zsig.c,v 1.12 2016/09/10 12:23:16 deraadt Exp $ */ +/* $OpenBSD: zsig.c,v 1.13 2016/09/27 02:16:40 tedu Exp $ */ /* * Copyright (c) 2016 Marc Espie <espie@openbsd.org> * @@ -52,10 +52,7 @@ struct gzheader { static uint8_t fake[10] = { 0x1f, 0x8b, 8, FCOMMENT_FLAG, 0, 0, 0, 0, 0, 3 }; -/* XXX no static there, confuses the hell out of gcc which displays - * non-existent warnings. - */ -uint8_t * +static uint8_t * readgz_header(struct gzheader *h, int fd) { size_t sz = 1024; |