[RFC PATCH v2 05/12] Move ilog* functions from util.c to defs.h

Dmitry V. Levin ldv at altlinux.org
Fri Jun 12 19:29:17 UTC 2020


On Fri, Jun 12, 2020 at 08:23:59PM +0200, Ákos Uzonyi wrote:
> * defs.h (ILOG2_ITER_): New macro (moved from util.c).
> (ilog2_klong): Likewise.
> (ilog2_64): New function (moved from util.c).
> (ilog2_32): New function (moved from util.c).
> * util.c (ILOG2_ITER_): Remove.
> (ilog2_klong): Likewise.
> (ilog2_64): Likewise.
> (ilog2_32): Likewise.

I'd suggest the following wording:

* util.c (ILOG2_ITER_, ilog2_klong, ilog2_64, ilog2_32): Move ...
* defs.h: ... here.


-- 
ldv


More information about the Strace-devel mailing list