mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
[PATCH] fix gcc 2.96 issue in libsysfs
This commit is contained in:
parent
94f88ba5ee
commit
aa7f11f470
@ -546,11 +546,14 @@ int _dlist_merge(struct dlist *listsource, struct dlist *listdest, unsigned int
|
||||
void dlist_sort_custom(struct dlist *list, int (*compare)(void *, void *))
|
||||
{
|
||||
|
||||
dlist_start(list);
|
||||
struct dlist *listsource, *listdest, *swap;
|
||||
struct dlist *templist = dlist_new(list->data_size);
|
||||
struct dlist *templist;
|
||||
unsigned int passcount = 1;
|
||||
unsigned int mergecount = 1;
|
||||
|
||||
dlist_start(list);
|
||||
templist = dlist_new(list->data_size);
|
||||
|
||||
// do nothing if there isn't anything to sort
|
||||
listsource = list;
|
||||
listdest = templist;
|
||||
|
Loading…
Reference in New Issue
Block a user