#458 closed defect (fixed)
psTimeFromTimeval needs struct
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
the proposed change to psTimeFromTimeval drops the struct from the argument,
const struct timeval *input. The struct needs to be present here unless it is
defined earlier, which it probably shouldn't be since it's not ours and not
used so frequently.
Note:
See TracTickets
for help on using tickets.

"timeval" changed to "struct timeval" throughout (timeval is simply declared
"struct timeval", not "typedef struct {} timeval"):
struct timeval *psTimeToTimeval(const psTime *time);
psTime *psTimeFromTimeval(const struct timeval *input);