X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fproto-p10.c;h=48b65274fa8f1bc7a350616fb921318e3f8494db;hb=2b941ee7f4654a673ed3338ae565c5381aa8fbc9;hp=ec517d142dae628744a441e2b373731ca9e5fca5;hpb=2c698a7dae97139c8b292ccfaf22eff41112f47f;p=srvx.git diff --git a/src/proto-p10.c b/src/proto-p10.c index ec517d1..48b6527 100644 --- a/src/proto-p10.c +++ b/src/proto-p10.c @@ -683,7 +683,7 @@ irc_ungline(const char *mask) * Within those sets, ordering is arbitrary. */ static int -modeNode_sort(const void *pa, const void *pb) +modeNode_sort_p10(const void *pa, const void *pb) { struct modeNode *a = *(struct modeNode**)pa; struct modeNode *b = *(struct modeNode**)pb; @@ -724,7 +724,7 @@ irc_burst(struct chanNode *chan) burst_line[pos++] = ' '; /* sort the users for oplevel-sending purposes */ - qsort(chan->members.list, chan->members.used, sizeof(chan->members.list[0]), modeNode_sort); + qsort(chan->members.list, chan->members.used, sizeof(chan->members.list[0]), modeNode_sort_p10); /* dump the users */ for (n=0; nmembers.used; n++) {