Commit ec7ee9fa authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(timeval_ctor): Changed type of the sec argument from int to time_t.

parent 4c905101
......@@ -48,7 +48,7 @@ timeval_zero(struct timeval t)
}
struct timeval
timeval_ctor(int sec, int usec)
timeval_ctor(time_t sec, int usec)
{
struct timeval res;
......
......@@ -25,7 +25,7 @@
extern Bool timeval_nonzero(struct timeval t);
extern Bool timeval_zero(struct timeval t);
extern struct timeval timeval_ctor(int sec, int usec);
extern struct timeval timeval_ctor(time_t sec, int usec);
/* Compute WANTED_INTERVAL - (NOW - START) and store it in REMAINING,
assuming that it is positive. Return true if REMAINING is greater
......
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