ccanlint: check for incompatible license boilerplates within subfiles.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jul 2011 04:59:03 +0000 (14:29 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jul 2011 04:59:03 +0000 (14:29 +0930)
commit4c1a5ebd8720c26e264c89f8256df02a93db683a
tree773cc6712098fc41264f1bdde288b0bdc0468ebb
parente67de75f0d64096956ad40ecb09462dac6fc5f03
ccanlint: check for incompatible license boilerplates within subfiles.

This checks to make sure you're not accidentally relicensing code;
eg. it's OK (though a bit impolite) to turn a BSD-licensed file into a
GPL module, but not the other way around.
tools/ccanlint/licenses.c
tools/ccanlint/licenses.h
tools/ccanlint/tests/license_file_compat.c [new file with mode: 0644]