Skip to content

Commit

Permalink
src/common.h : Change 'typedef SF_CHUNK_ITERATOR { ... } SF_CHUNK_ITE…
Browse files Browse the repository at this point in the history
…RATOR'

into 'struct SF_CHUNK_ITERATOR { ... }' to prevent older compilers from
complaining of re-typedef-ing of SF_CHUNK_ITERATOR.
  • Loading branch information
erikd committed Mar 20, 2012
1 parent 5ccec2c commit db5ad49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2012-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>

* src/common.h
Change 'typedef SF_CHUNK_ITERATOR { ... } SF_CHUNK_ITERATOR' into 'struct
SF_CHUNK_ITERATOR { ... }' to prevent older compilers from complaining of
re-typedef-ing of SF_CHUNK_ITERATOR.

2012-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>

* src/*.c tests/chunk_test.c
Expand Down
4 changes: 2 additions & 2 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ typedef struct
WRITE_CHUNK *chunks ;
} WRITE_CHUNKS ;

typedef struct SF_CHUNK_ITERATOR
struct SF_CHUNK_ITERATOR
{ uint32_t current ;
int64_t hash ;
char id [64] ;
unsigned id_size ;
SNDFILE *sndfile ;
} SF_CHUNK_ITERATOR ;
} ;

static inline size_t
make_size_t (int x)
Expand Down

0 comments on commit db5ad49

Please sign in to comment.