/* * Copyright (C) 2008-2009 Hai Zaar, Codefidence Ltd * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include #include #include "dirstream.h" int versionsort(const struct dirent **a, const struct dirent **b) { return strverscmp((*a)->d_name, (*b)->d_name); } #if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64 strong_alias_untyped(versionsort,versionsort64) #endif