fix various warnings
[sddekit.git] / src / conn.c
blobecd10f02c6b28dd9665120894b06aec2d2ec5692
1 /* copyright 2016 Apache 2 sddekit authors */
3 #include "sddekit.h"
5 typedef struct sd_conn sd_conn;
7 struct sd_conn
9 void *ptr;
12 typedef struct connd
14 bool d_not_null;
15 uint32_t nnz
16 , * restrict Or
17 , * restrict Ic;
18 double * restrict w
19 , * restrict d;
20 } connd;
23 static bool have_delays(sd_conn *conn)
25 return ((connd*)conn)->d_not_null;