Hello everyone.

Since standard headers shouldn't define any non-standard, non-reserved
identifiers, I hereby declare that identifiers starting with either
'_HELENOS' or '__helenos' are reserved for use by our libraries.

Any identifiers defined by our libraries that start with either two
underscores or an underscore and a capital letter, should from now on
use one of these prefixes, with exceptions only considered where prior
art sets a strong convention. Any nonstandard identifiers defined in
standard headers must be guarded by '#ifdef _HELENOS_SOURCE', as
modeled after existing similar conventions, notably _GNU_SOURCE,
_POSIX_SOURCE, _XOPEN_SOURCE, etc.

I'll be working on aligning our headers to these requirements in coming days.

Anyone who disagrees with this course of action is expected to propose
a better alternative. ;-)

-- jzr

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to