gnupg/include
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 3f52c7da39)
2016-01-26 15:38:27 +09:00
..
ChangeLog-2011 Rename all ChangeLog files to ChangeLog-2011. 2011-12-02 19:42:56 +01:00
_regex.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
cipher.h Add convenience function to hash a buffer. 2015-02-26 15:35:49 +01:00
compat.h Restructured the compat functions and changed its license. 2009-08-25 20:00:24 +00:00
distfiles Distribute dotlock.h 2012-01-11 01:23:59 -05:00
dotlock.h gpg: signal handling fix 2013-07-12 17:26:55 +09:00
dynload.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
errors.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
estream-printf.h First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
host2net.h Use inline functions to convert buffer data to scalars. 2015-02-23 10:47:26 +01:00
http.h Remove trailing white space from some files 2012-12-19 14:05:56 +01:00
i18n.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
iobuf.h g10: Fix iobuf API of filter function for alignment. 2016-01-26 15:38:27 +09:00
keyserver.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
memory.h First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
mpi.h mpi: Avoid data-dependent timing variations in mpi_powm. 2015-02-26 21:00:05 +09:00
srv.h * srv.h: Move to include/srv.h. 2009-04-06 03:18:07 +00:00
ttyio.h Minor changes to help the VMS port 2010-09-28 10:07:30 +00:00
types.h mpi: Suppress set-but-unused-variables warnings. 2014-08-20 13:25:17 +02:00
util.h Switch to a hash and CERT record based PKA system. 2015-02-26 18:30:08 +01:00
zlib-riscos.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00