diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-09-27 02:16:41 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-09-27 02:16:41 +0000 |
commit | 5fd670a3051fa9e11d6d62ac4b9de7bb9048f5a0 (patch) | |
tree | b7dcad3fd41a0c225bec1dbff6034461add9c93f | |
parent | e5541474d1b54386a99d7ecfd20e2678a95b1583 (diff) |
can make function static now that it's living in a separate file.
bye bye XXX!
-rw-r--r-- | usr.bin/signify/zsig.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/signify/zsig.c b/usr.bin/signify/zsig.c index d721d8a0597..55380653d37 100644 --- a/usr.bin/signify/zsig.c +++ b/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; |