Commit e998cef2 authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: turn DSPRO() to a function

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 67d92e6d
......@@ -282,7 +282,10 @@ static inline struct DSPort *DSPOR(struct pp_instance *ppi)
return ppi->portDS;
}
#define DSPRO(x) ((x)->timePropertiesDS)
static inline struct DSTimeProperties *DSPRO(struct pp_instance *ppi)
{
return ppi->timePropertiesDS;
}
#define NP(x) ((x)->net_path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment