> In my worthless opinion, it is a mistake to declare POSIX data types in > s-linux.ads, they should be in s-posix.ads or similar (don't worry if > that's a new file; and it should not be a "leaf" package). Think of > GNU/kFreeBSD and GNU/Hurd, which have nothing to do with Linux. > Furthermore there should be only one declaration of type timespec > (i.e. "do not repeat yourself"); that declaration should be in > s-posix.ads and that declaration should "violate" POSIX like so:
Right, but you should have posted this message a couple of decades ago when this stuff was designed. We cannot turn everything upside down now, sorry. -- Eric Botcazou