Re: [1/2] use const in time.h unit conversion functions

William Lee Irwin III
2004-06-02T18:53:02Z

On Wed, Jun 02, 2004 at 01:43:35PM -0500, Matt Mackall wrote:
> This is the second const-correctness patch I've seen in a couple days,
> and I'd like to point out that while it's a noble cause, retrofitting
> const decls onto interfaces is notorious for causing ripple effects in
> APIs.

There's a point to this one. A warning got tripped when const stuff was
passed to it in patch #2, hence this as a preparatory cleanup.

-- wli