On Mar 21, 2011, at 5:15 AM, Todd Lyons <tly...@ivenue.com> wrote: > On Fri, Mar 18, 2011 at 12:40 PM, Ragi Burhum <r...@burhum.com> wrote: >>> the 'clean headers' only contain type and macro definitions, with the >>> exception of a couple static inline functions used for performance reason >>> (e.g. optimized CPU-specific byte-swapping routines)" >> Macros and inline functions are not simple "header files" anymore. And mind >> you, these are not simple *CPU-specific* byte-swapping functions, they are >> implemented in very clever non-trivial ways (look it up in the code). >> And the question is... Can they do that? Can I write some code that scans >> through headers and de-GPL-ifies code. A question with serious implications >> for everyone linking with Bionic (*plenty* of Android apps). > > RMS's views on GPL'd headers: > http://lkml.indiana.edu/hypermail/linux/kernel/0301.1/0362.html > > Note the use of the word "substantial". Is the above mentioned macros > and byte swapping enough to be substatial? >
You tell me. Can you write this quickly without thinking much? (this is one of the examples) https://www.codeaurora.org/git/projects/froyo-gb-dsds-7227/repository/revisions/93e048b739ae57b50ec1bfa386cd4613e6798948/entry/bionic/libc/include/sys/endian.h#L73 _______________________________________________ LinuxUsers mailing list LinuxUsers@socallinux.org http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers