[ofw] [PATCH] opensm - add OSM_CDECL to qsort compare function definitions

Sean Hefty sean.hefty at intel.com
Thu Oct 8 10:10:34 PDT 2009


>X86 linkage requires __cdecl attribute on qsort() compare function definition;
>matches Windows qsort() prototype.
>Add existing OSM_CDECL to qsort() compare function defintions.
>OSM_CDECL defined blank for Linux.

ibping also requires the use __cdecl.  So far, I've been maintaining that patch
separately and applying it before updating the winof code base.  If multiple
users of __cdecl are required, maybe we can find a common place for the
definition.

- Sean




More information about the ofw mailing list