[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#106254: unistd.h, pthread.h declare pthread_atfork()


> Package: libc6-dev
> Version: 2.2.3-6
> Severity: minor
> File: /usr/include/unistd.h
> pthread_atfork() is declared from both unistd.h and pthread.h, yielding
> warnings with gcc's stricter warning settings.  Perhaps this means the
> declaration should be in a header file of its own; in any case it could
> be protected by an #ifdef / decl / #define / #endif construct to avoid
> the warnings.

Hmm, Could you provide us the sample code and gcc compile option to
reproduce these warnings?  If you have no warnings, I would like to
close this bug.

-- gotom

Reply to: