NFANS
#define NFANS (sizeof (fan_nodes)/sizeof (fan_nodes[0]))
#define NFANS (sizeof (xcalfans) / sizeof (xcalfans[0]))