2011-12-11 19:05:00 +01:00
|
|
|
#include "ngspice/cpdefs.h"
|
2003-07-23 21:36:39 +02:00
|
|
|
#include <string.h>
|
2010-10-16 17:47:16 +02:00
|
|
|
#include "hcomp.h"
|
2000-06-27 18:15:43 +02:00
|
|
|
|
|
|
|
|
int
|
|
|
|
|
hcomp(const void *a, const void *b)
|
|
|
|
|
{
|
|
|
|
|
struct comm **c1 = (struct comm **) a;
|
|
|
|
|
struct comm **c2 = (struct comm **) b;
|
|
|
|
|
return (strcmp((*c1)->co_comname, (*c2)->co_comname));
|
|
|
|
|
}
|