NIIBE Yutaka
aa4a3aa3e7
g10: Fix iobuf API of filter function for alignment.
* include/iobuf.h (struct iobuf_struct): Remove DESC.
* util/iobuf.c (iobuf_desc): New.
(print_chain, iobuf_close, iobuf_open, iobuf_fdopen, iobuf_sockopen)
(iobuf_create, iobuf_append, iobuf_openrw, iobuf_ioctl)
(iobuf_push_filter2, pop_filter, underflow): Use iobuf_desc.
(file_filter, sock_filter, block_filter): Fill the description.
* g10/armor.c, g10/cipher.c, g10/compress-bz2.c, g10/compress.c,
g10/encode.c, g10/encr-data.c, g10/mdfilter.c, g10/pipemode.c,
g10/progress.c, g10/textfilter.c: Likewise.
--
Newer GCC warns against possible alignment difference of pointers.
This change can silence those warnings.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(backported from 2.1 commit 3f52c7da3940ec06572270d511000dc7fe9c27d2)
2016-01-26 15:38:27 +09:00
..
2015-02-23 10:47:26 +01:00
2009-07-21 14:30:13 +00:00
2009-07-21 14:30:13 +00:00
2015-02-23 10:47:26 +01:00
2016-01-26 15:38:27 +09:00
2015-02-23 10:56:21 +01:00
2010-09-23 08:15:45 +00:00
2010-07-24 09:18:42 +00:00
2010-07-24 09:18:42 +00:00
2015-02-23 10:47:26 +01:00
2009-07-21 14:30:13 +00:00
2011-12-02 19:42:56 +01:00
2016-01-26 15:38:27 +09:00
2016-01-26 15:38:27 +09:00
2016-01-26 15:38:27 +09:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2016-01-26 15:38:27 +09:00
2016-01-26 15:38:27 +09:00
2008-07-17 19:47:19 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2015-02-23 10:52:37 +01:00
2015-04-30 17:20:08 +09:00
2015-05-19 10:14:09 +09:00
2014-08-06 18:33:21 +02:00
2015-12-19 15:14:27 +01:00
2015-12-19 15:14:27 +01:00
2012-08-24 16:37:44 +02:00
2015-02-23 10:53:05 +01:00
2009-12-15 11:07:43 +00:00
2009-09-02 17:30:53 +00:00
2007-10-23 10:48:09 +00:00
2013-07-12 17:26:55 +09:00
2007-10-23 10:48:09 +00:00
2015-02-23 10:36:18 +01:00
2015-02-23 10:47:26 +01:00
2015-02-23 10:56:21 +01:00
2014-06-23 14:57:32 +02:00
2015-02-23 10:46:07 +01:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2015-02-26 18:30:08 +01:00
2015-12-19 15:14:27 +01:00
2015-05-19 10:47:42 +09:00
2011-02-23 15:13:40 +01:00
2016-01-26 15:38:27 +09:00
2015-12-19 15:14:27 +01:00
2014-11-14 19:41:24 +01:00
2000-07-31 08:04:16 +00:00
2015-12-19 15:14:27 +01:00
2010-09-28 16:13:24 +00:00
2007-10-23 10:48:09 +00:00
2015-10-01 14:34:08 +09:00
2015-12-17 15:14:56 +01:00
2011-04-05 23:47:58 -04:00
2008-10-03 19:54:30 +00:00
2016-01-26 15:38:27 +09:00
2014-06-23 09:25:45 +02:00
2014-11-14 19:41:24 +01:00
2016-01-26 15:38:27 +09:00
2012-11-08 13:25:02 +01:00
2000-07-31 08:04:16 +00:00
2009-06-24 14:01:20 +00:00
2015-02-23 11:04:35 +01:00
2007-11-28 23:08:35 +00:00
2015-12-19 15:14:27 +01:00
2015-09-01 07:47:14 +02:00
2013-07-12 17:26:55 +09:00
2009-05-11 09:37:25 +00:00
2012-11-08 13:25:02 +01:00
2012-11-08 13:25:02 +01:00
2007-10-23 10:48:09 +00:00
2015-12-19 16:56:31 +01:00
2013-10-11 09:35:01 +02:00
2016-01-26 15:38:27 +09:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2015-11-20 13:23:31 +01:00
2012-01-19 22:33:51 -05:00
2007-10-23 10:48:09 +00:00