Christos Zoulas writes: > In article <20180207130259.ga21...@britannica.bec.de>, > Joerg Sonnenberger <jo...@bec.de> wrote: > >On Tue, Feb 06, 2018 at 03:21:21PM -0500, Christos Zoulas wrote: > >> Module Name: src > >> Committed By: christos > >> Date: Tue Feb 6 20:21:21 UTC 2018 > >> > >> Modified Files: > >> src/include: unistd.h > >> > >> Log Message: > >> detect duplicate declaration of pthread_atfork() in pthread.h > > > >Is this for some new broken GCC warning? > > > > This is what the compiler said, and we have prior art for this (macro > protect to avoid dup declarations -- grep for _DECLARED).
why is it a problem to declare the functino twice? what was the context of the compiler? .mrg.