On Mon, Aug 01, 2022 at 05:11:53PM +0200, Thomas Klausner wrote:
> I don't understand why we expose __clone() in a public header at all,
> but I understand your comments to result in the attached patch.

It is used in tests:

    /tmp/build/2022.08.01.14.34.01-i386/src/tests/lib/libc/sys/t_clone.c:123:16:
error: implicit declaration of function '__clone'; did you mean 'close'?
[-Werror=implicit-function-declaration]
      123 |  switch (pid = __clone(clone_func, stack,
          |                ^~~~~~~          
          |                close


Not sure why your test build did not catch it.

Martin

Reply via email to