I wrote all of most of them, for the others, here's the CCAN mailing
list thread authorizing it:
From: Timothy B. Terriberry <tterribe@xiph.org>
Subject: Re: [ccan] Changing from Public Domain to CC0
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: ccan@ozlabs.org
Date: Wed, 31 Oct 2012 02:53:50 -0400
Rusty Russell <rusty@rustcorp.com.au> wrote:
> I want to change the License string (and add a symlink) to the following
> trivial modules. Please Ack.
> isaac
Ack.
From: Alessandro Guido <ag@alessandroguido.name>
Subject: Re: Changing from Public Domain to CC0
To: Rusty Russell <rusty@rustcorp.com.au>
Date: Wed, 31 Oct 2012 10:59:53 +0100
Acked-by: Alessandro Guido <ag@alessandroguido.name>
From: Brad Hards <bradh@frogmouth.net>
Subject: Re: Changing from Public Domain to CC0
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Joey Adams <joeyadams3.14159@gmail.com>, Alessandro Guido <ag@alessandroguido.name>, Andreas Schlick <schlick@lavabit.com>, ccan@ozlabs.org
Date: Wed, 31 Oct 2012 23:43:24 +1100
On 31/10/12 17:43, Rusty Russell wrote:
> Damn lawyers!
>
> Since Public Domain is a slippery concept outside certain countries, it
> has been suggested that I formalize it to Creative Commons Zero.
>
> I want to change the License string (and add a symlink) to the following
> trivial modules. Please Ack.
Ack.
More generally, anything I've put into CCAN is so trivial that you can
relicense it (to any Free / Open Source license) as part of any
relicensing you can otherwise get agreement to.
Brad
[Sorry if this comes out in HTML - I'm stuck with unsat tools while
travelling].
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
48 files changed:
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_ALIGNOF_H
#define CCAN_ALIGNOF_H
#include "config.h"
#ifndef CCAN_ALIGNOF_H
#define CCAN_ALIGNOF_H
#include "config.h"
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_ARRAY_SIZE_H
#define CCAN_ARRAY_SIZE_H
#include "config.h"
#ifndef CCAN_ARRAY_SIZE_H
#define CCAN_ARRAY_SIZE_H
#include "config.h"
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
* return (char *)foo;
* }
*
* return (char *)foo;
* }
*
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_BUILD_ASSERT_H
#define CCAN_BUILD_ASSERT_H
#ifndef CCAN_BUILD_ASSERT_H
#define CCAN_BUILD_ASSERT_H
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
* since they have to use sizeof() which can only distiguish between types of
* different size.
*
* since they have to use sizeof() which can only distiguish between types of
* different size.
*
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_CHECK_TYPE_H
#define CCAN_CHECK_TYPE_H
#include "config.h"
#ifndef CCAN_CHECK_TYPE_H
#define CCAN_CHECK_TYPE_H
#include "config.h"
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
* - IS_COMPILE_CONSTANT()
* For using different tradeoffs for compiletime vs runtime evaluation.
*
* - IS_COMPILE_CONSTANT()
* For using different tradeoffs for compiletime vs runtime evaluation.
*
- * License: Public Domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*
* Example:
* Author: Rusty Russell <rusty@rustcorp.com.au>
*
* Example:
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_COMPILER_H
#define CCAN_COMPILER_H
#include "config.h"
#ifndef CCAN_COMPILER_H
#define CCAN_COMPILER_H
#include "config.h"
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_CONTAINER_OF_H
#define CCAN_CONTAINER_OF_H
#include <stddef.h>
#ifndef CCAN_CONTAINER_OF_H
#define CCAN_CONTAINER_OF_H
#include <stddef.h>
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#include "err.h"
#if !HAVE_ERR_H
#include "err.h"
#if !HAVE_ERR_H
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_ERR_H
#define CCAN_ERR_H
#include "config.h"
#ifndef CCAN_ERR_H
#define CCAN_ERR_H
#include "config.h"
* The stable ones will always give the same results on any computer,
* and on any version of this package.
*
* The stable ones will always give the same results on any computer,
* and on any version of this package.
*
- * License: Public Domain
+ * License: Public domain
* Maintainer: Rusty Russell <rusty@rustcorp.com.au>
* Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
*/
* Maintainer: Rusty Russell <rusty@rustcorp.com.au>
* Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
*/
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_HASH_H
#define CCAN_HASH_H
#include "config.h"
#ifndef CCAN_HASH_H
#define CCAN_HASH_H
#include "config.h"
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public Domain
+ * License: CC0 (Public domain)
* Ccanlint:
* // We actually depend on the LGPL ilog routines, so not PD :(
* license_depends_compat FAIL
* Ccanlint:
* // We actually depend on the LGPL ilog routines, so not PD :(
* license_depends_compat FAIL
-/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009 public domain.
+/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009.
+ CC0 (Public domain) - see LICENSE file for details
Based on the public domain implementation by Robert J. Jenkins Jr.*/
#include <float.h>
#include <math.h>
Based on the public domain implementation by Robert J. Jenkins Jr.*/
#include <float.h>
#include <math.h>
+/* CC0 (Public domain) - see LICENSE file for details */
#if !defined(_isaac_H)
# define _isaac_H (1)
# include <stdint.h>
#if !defined(_isaac_H)
# define _isaac_H (1)
# include <stdint.h>
-/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009 public domain.
+/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009
+ CC0 (Public domain) - see LICENSE file for details
Based on the public domain ISAAC implementation by Robert J. Jenkins Jr.*/
#include <float.h>
#include <math.h>
Based on the public domain ISAAC implementation by Robert J. Jenkins Jr.*/
#include <float.h>
#include <math.h>
+/* CC0 (Public domain) - see LICENSE file for details */
#if !defined(_isaac64_H)
# define _isaac64_H (1)
# include <stdint.h>
#if !defined(_isaac64_H)
# define _isaac64_H (1)
# include <stdint.h>
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#include "noerr.h"
#include <unistd.h>
#include <errno.h>
#include "noerr.h"
#include <unistd.h>
#include <errno.h>
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef NOERR_H
#define NOERR_H
#include <stdio.h>
#ifndef NOERR_H
#define NOERR_H
#include <stdio.h>
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_SHORT_TYPES_H
#define CCAN_SHORT_TYPES_H
#include <stdint.h>
#ifndef CCAN_SHORT_TYPES_H
#define CCAN_SHORT_TYPES_H
#include <stdint.h>
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
- * License: Public domain
+ * License: CC0 (Public domain)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
+/* CC0 (Public domain) - see LICENSE file for details */
#include "config.h"
#include <ccan/str/str_debug.h>
#include <assert.h>
#include "config.h"
#include <ccan/str/str_debug.h>
#include <assert.h>
+/* CC0 (Public domain) - see LICENSE file for details */
#include <ccan/str/str.h>
size_t strcount(const char *haystack, const char *needle)
#include <ccan/str/str.h>
size_t strcount(const char *haystack, const char *needle)
-/* Placed into the public domain. */
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_STR_H
#define CCAN_STR_H
#include "config.h"
#ifndef CCAN_STR_H
#define CCAN_STR_H
#include "config.h"
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_STR_DEBUG_H
#define CCAN_STR_DEBUG_H
#ifndef CCAN_STR_DEBUG_H
#define CCAN_STR_DEBUG_H
* http://cr.yp.to/critbit.html
* http://github.com/agl/critbit (which this code is based on)
*
* http://cr.yp.to/critbit.html
* http://github.com/agl/critbit (which this code is based on)
*
- * License: Public domain (but some dependencies are LGPL!)
+ * License: CC0 (but some dependencies are LGPL!)
* Author: Rusty Russell <rusty@rustcorp.com.au>
* Ccanlint:
* license_depends_compat FAIL
* Author: Rusty Russell <rusty@rustcorp.com.au>
* Ccanlint:
* license_depends_compat FAIL
* // Given "foo bar" outputs "bar foo "
* // Given "foo foo bar" outputs "bar foo "
*
* // Given "foo bar" outputs "bar foo "
* // Given "foo foo bar" outputs "bar foo "
*
- * License: Public domain (but some dependencies are LGPL!)
+ * License: CC0 (but some dependencies are LGPL!)
* Author: Rusty Russell <rusty@rustcorp.com.au>
* Ccanlint:
* license_depends_compat FAIL
* Author: Rusty Russell <rusty@rustcorp.com.au>
* Ccanlint:
* license_depends_compat FAIL
--- /dev/null
+../../licenses/CC0
\ No newline at end of file
* // Given "foo" outputs "Last arg is foo of 1 arguments"
* // Given "foo bar" outputs "Last arg is bar of 2 arguments"
*
* // Given "foo" outputs "Last arg is foo of 1 arguments"
* // Given "foo bar" outputs "Last arg is bar of 2 arguments"
*
- * License: Public domain
+ * License: CC0 (Public domain)
*
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
*
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
-/* Placed into the public domain */
+/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_TCON_H
#define CCAN_TCON_H
#include "config.h"
#ifndef CCAN_TCON_H
#define CCAN_TCON_H
#include "config.h"