Rename struct lzma_stream to avoid clash with system header
authorTom Tromey <tromey@redhat.com>
Thu, 5 Jun 2014 20:36:27 +0000 (14:36 -0600)
committerPedro Alves <palves@redhat.com>
Fri, 27 Feb 2015 17:31:18 +0000 (17:31 +0000)
commit1424c16eab1a96de054991c346c2bbf3eac82dec
treeef25d0e86090b1f9feaf5a582693ae9e3e4282e1
parent10367c7c946a123597cbc5efaa44c18912e5e43a
Rename struct lzma_stream to avoid clash with system header

/home/pedro/gdb/mygit/src/gdb/minidebug.c: At global scope:
/home/pedro/gdb/mygit/src/gdb/minidebug.c:55:8: error: using typedef-name ‘lzma_stream’ after ‘struct’
 struct lzma_stream
        ^
In file included from /usr/include/lzma.h:281:0,
                 from /home/pedro/gdb/mygit/src/gdb/minidebug.c:28:
/usr/include/lzma/base.h:498:3: note: ‘lzma_stream’ has a previous declaration here
 } lzma_stream;
   ^

gdb/ChangeLog:
2015-02-27  Tom Tromey  <tromey@redhat.com>

* minidebug.c (struct lzma_stream): Rename to ...
(struct gdb_lzma_stream): ... this.
(lzma_open, lzma_pread, lzma_close, lzma_stat): Adjust.
gdb/ChangeLog
gdb/minidebug.c