diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-02-20 16:47:39 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-02-20 16:47:39 +0000 |
commit | a5a39243b3a51c0187a108d325948155d0aa4fc0 (patch) | |
tree | f060b709384d7ea1bb3e6ce231d4d0c434d3b4ed /mdk-stage1/dietlibc/libcruft/alphasort64.c | |
parent | 7cbf0dbf5c98d10023125b06b5d4b737c246aacc (diff) | |
download | drakx-a5a39243b3a51c0187a108d325948155d0aa4fc0.tar drakx-a5a39243b3a51c0187a108d325948155d0aa4fc0.tar.gz drakx-a5a39243b3a51c0187a108d325948155d0aa4fc0.tar.bz2 drakx-a5a39243b3a51c0187a108d325948155d0aa4fc0.tar.xz drakx-a5a39243b3a51c0187a108d325948155d0aa4fc0.zip |
Merge with dietlibc 0.22-1mdk
Diffstat (limited to 'mdk-stage1/dietlibc/libcruft/alphasort64.c')
-rw-r--r-- | mdk-stage1/dietlibc/libcruft/alphasort64.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/libcruft/alphasort64.c b/mdk-stage1/dietlibc/libcruft/alphasort64.c new file mode 100644 index 000000000..520086352 --- /dev/null +++ b/mdk-stage1/dietlibc/libcruft/alphasort64.c @@ -0,0 +1,6 @@ +#include <dirent.h> +#include <string.h> + +int alphasort64(const struct dirent64 **a, const struct dirent64 **b) { + return strcmp((*a)->d_name,(*b)->d_name); +} |