mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-11 21:48:50 +01:00
aa4a3aa3e7
* 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
|
||
---|---|---|
.. | ||
_regex.h | ||
assuan.h | ||
ChangeLog-2011 | ||
cipher.h | ||
compat.h | ||
distfiles | ||
dotlock.h | ||
dynload.h | ||
errors.h | ||
estream-printf.h | ||
host2net.h | ||
http.h | ||
i18n.h | ||
iobuf.h | ||
keyserver.h | ||
memory.h | ||
mpi.h | ||
srv.h | ||
ttyio.h | ||
types.h | ||
util.h | ||
zlib-riscos.h |