On Fri, 22 May 2015 07:44:43 -0700
Donald Sharp <[email protected]> wrote:

> Why are we removing the #include "prefix.h" in stream.h?  I'm not
> sure what we gain here.

Faster build time. And less dependencies. And I in fact had namespace
collisions when trying to use stream.h together with certain system
headers (musl c-library and linux kernel headers conflicts arose).

I wound writing zbuf, and not using stream.h. So this is not strictly
necessary. But in general, making the headers not include each other is
usually good on long term. Otherwise you make easily headers depend on
each other recursively.

> 
> donald
> 
> On Fri, May 22, 2015 at 3:40 AM, Timo Teräs <[email protected]> wrote:
> 
> > Fix other places that assumed stream.h pulls in prefix.h.

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to