]> Dogcows Code - chaz/tar/commit
(struct zip_magic): Use char arrays, not pointers.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2005 18:21:55 +0000 (18:21 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2005 18:21:55 +0000 (18:21 +0000)
commit7d4bd5b38da79dc89ce77d4a9434c6d313b6b52e
treed14d5d0272a21b61aa0988f47a02e5b5ce61c628
parentad0bd3c9c4ddf41e84857a90fc168e6e7469d370
(struct zip_magic): Use char arrays, not pointers.
The unsigned char * pointer ran afoul of pedantic C compilers, and
we didn't need pointers anyway.  Put the size field before the
data to avoid unnecessary padding.  All uses changed.
(magic) Make it const, since it doesn't change.  All uses changed.
src/buffer.c
This page took 0.024044 seconds and 4 git commands to generate.