Correct improper function prototype for my_alphasort.
With this commit, we're back to building and running properly on openSUSE 11.4/amd64
This commit is contained in:
parent
9a5b9e2fb1
commit
a3789cb7a6
|
@ -377,10 +377,7 @@ select_executables_only(const struct dirent* dent)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int my_alphasort(const void* va, const void* vb) {
|
||||
const struct dirent** a = (const struct dirent**)va;
|
||||
const struct dirent** b = (const struct dirent**)vb;
|
||||
|
||||
int my_alphasort(const struct dirent **a, const struct dirent **b) {
|
||||
const char* s1 = (*a)->d_name;
|
||||
const char* s2 = (*b)->d_name;
|
||||
|
||||
|
|
Loading…
Reference in New Issue