Hey guys, Which license would be most appropriate for the C standard headers? I'm not sure that the LLVM license with the advertising clause would be the best bet, since those headers get compiled into end-user's applications, but IANAL. Personal preference would be public domain, or MIT/X license if the no-liability stuff is considered important, but I'll use whatever the project leads say I should. (Some of these headers are so small and are just directly taken from the standard's wording that I'm not even sure copyright is applicable, but meh.)
Also, here is the C99 stdbool.h I wrote as an example. Please let me know if this is the format you'd like these headers to be in. Mostly, are the include guards acceptable in format, and is the comment block acceptable in detail, or is something missing? (Other than the license.) Should there be more comments for the macro definitions themselves, or are suitably small, simple, obvious, self-documenting things like that acceptable to leave without description? - Sean
/* stdbool.h * ISO/IEC 9899:1999 * * Distributed as part of the LLVM Clang project. * http://clang.llvm.org * * This header implements interfaces defined by the C99 language * specification. * * @author Sean Middleditch <[EMAIL PROTECTED]> */ #ifndef LLVM_CLANG_STDC_C99_STDBOOL_H #define LLVM_CLANG_STDC_C99_STDBOOL_H 1 #define bool _Bool #define true 1 #define false 0 #define __bool_true_false_are_defined 1 #endif
_______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
