vcs-svn: Rename dirent pool to build on Windows
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 14 Aug 2010 00:01:34 +0000 (19:01 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 Aug 2010 02:35:38 +0000 (19:35 -0700)
commit68b4cfbc91583b43e96d38b8d7efc8e6690589ad
treef97483dee6e25409d1d6f8f3bf667dc77987ac52
parent78457bc0ccc1af8b9eb776a0b17986ebd50442bc
vcs-svn: Rename dirent pool to build on Windows

dirent is #define’d to mingw_dirent in compat/mingw.h, with the
result that

 obj_pool_gen(dirent, struct repo_dirent, 4096)

creates functions with names like mingw_dirent_alloc and
references to dirent_alloc go unresolved.  Rename the functions
to dent_* to avoid this problem.

Reported-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
vcs-svn/repo_tree.c