summaryrefslogtreecommitdiff
path: root/src/git
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2009-06-04 17:12:59 +0100
committerAndreas Ericsson <ae@op5.se>2009-06-05 12:13:48 +0200
commit3e0fb8fb56426d4645a50ce85fead9ad93ce59ba (patch)
tree2bf7e29956df690eb8462a49aa1f8ad9a85047bc /src/git
parentc8d42b9bd1b6e45f48feadb5b02e152c5e5f1f62 (diff)
downloadlibgit2-3e0fb8fb56426d4645a50ce85fead9ad93ce59ba.tar.gz
thread-utils.h: Avoid using a non-standard C construct
In particular, in standard C, a struct or union must have at least one member declared (ie. structs and unions cannot be empty). Some compilers allow empty structs as an extension and won't even issue a warning unless asked for it (eg, gcc requires -pedantic). Some compilers allow empty structs as an extension and will only treat it as an error if asked for strict checking (eg Digital-Mars with -A). Some compilers simply treat it as an error (eg MS Visual C/C++). Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/git')
0 files changed, 0 insertions, 0 deletions