libgit2/src
Ramsay Jones 3e0fb8fb56 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>
2009-06-05 12:13:48 +02:00
..
git Implement git_odb_write() 2009-06-05 10:22:20 +02:00
sha1 Add built-in (Mozilla) SHA1 routines 2009-03-17 18:54:42 -07:00
unix win32: Add routines to abstract memory-mapped file functions 2009-03-20 14:39:02 -07:00
win32 win32: Add some file operation stubs and wrapper functions 2009-06-05 10:21:39 +02:00
cc-compat.h Add cc-compat.h - C compiler compat macros for internal use 2008-11-22 12:08:00 -08:00
commit.c Wrap malloc and friends and report out of memory as GIT_ENOMEM 2008-12-30 23:28:30 -08:00
commit.h Cleanup formatting in our head files to be more consistent 2008-12-30 21:52:07 -08:00
common.h win32: Add missing include for mkdir() and rmdir() 2009-03-30 07:18:42 -07:00
delta-apply.c Fix some (digital-mars) compiler warnings 2009-03-17 18:59:26 -07:00
delta-apply.h Add the binary delta apply algorithm for pack style deltas 2009-01-03 04:21:30 -08:00
dir.h win32: Add <dirent.h> directory reading routines 2009-03-20 14:39:03 -07:00
errors.c Set GIT_EOSERR when the OS errno should be consulted 2008-12-30 23:29:23 -08:00
errors.h Cleanup our header inclusion order to ensure pthread.h is early 2008-12-31 13:16:31 -08:00
fileops.c Add the git_move_file() function 2009-06-05 10:21:52 +02:00
fileops.h Add the git_move_file() function 2009-06-05 10:21:52 +02:00
hash.c Add built-in (Mozilla) SHA1 routines 2009-03-17 18:54:42 -07:00
hash.h Add some routines for SHA1 hash computation 2008-12-30 07:48:10 -08:00
map.h win32: Add routines to abstract memory-mapped file functions 2009-03-20 14:39:02 -07:00
odb.c Implement git_odb_write() 2009-06-05 10:22:20 +02:00
odb.h Add basic support to read pack-*.idx v1 and v2 files 2009-01-03 02:56:16 -08:00
oid.c Wrap malloc and friends and report out of memory as GIT_ENOMEM 2008-12-30 23:28:30 -08:00
revwalk.c Wrap malloc and friends and report out of memory as GIT_ENOMEM 2008-12-30 23:28:30 -08:00
revwalk.h Remove unnecessary import of stdlib.h from revwalk.h 2008-12-30 21:52:07 -08:00
thread-utils.c Wrap malloc and friends and report out of memory as GIT_ENOMEM 2008-12-30 23:28:30 -08:00
thread-utils.h thread-utils.h: Avoid using a non-standard C construct 2009-06-05 12:13:48 +02:00
util.c Fix some (digital-mars) compiler warnings 2009-03-17 18:59:26 -07:00
util.h Add git__dirname and git__basename utility routines 2009-01-28 12:25:24 -08:00