From ae746a3e08aad0fcd6594f6afff41d9ca4e2c930 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sun, 28 Feb 2016 12:47:42 +0100 Subject: [PATCH] add approprate per-file license headers --- capn-list.inc | 7 +++++++ capn-malloc.c | 9 +++++++++ capn-stream-test.cpp | 9 +++++++++ capn-stream.c | 8 ++++++++ capn-test.cpp | 8 ++++++++ capn.c | 8 ++++++++ capn.h | 8 ++++++++ compiler/capnpc-c.c | 8 ++++++++ compiler/schema-test.cpp | 8 ++++++++ compiler/str.c | 8 ++++++++ compiler/str.h | 8 ++++++++ 11 files changed, 89 insertions(+) diff --git a/capn-list.inc b/capn-list.inc index ad930a8..7296638 100644 --- a/capn-list.inc +++ b/capn-list.inc @@ -1,3 +1,10 @@ +/* capn-list.inc + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ #define CAT2(A,B) A ## B #define CAT(A,B) CAT2(A, B) diff --git a/capn-malloc.c b/capn-malloc.c index ced44f4..91dfe14 100644 --- a/capn-malloc.c +++ b/capn-malloc.c @@ -1,4 +1,13 @@ /* vim: set sw=8 ts=8 sts=8 noet: */ +/* capn-malloc.c + * + * Copyright (C) 2013 James McKaskill + * Copyright (C) 2014 Steve Dee + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include "capn.h" #include #include diff --git a/capn-stream-test.cpp b/capn-stream-test.cpp index c5853bb..f424648 100644 --- a/capn-stream-test.cpp +++ b/capn-stream-test.cpp @@ -1,3 +1,12 @@ +/* capn-stream-test.cpp + * + * Copyright (C) 2013 James McKaskill + * Copyright (C) 2014 Steve Dee + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include "capn-stream.c" #include diff --git a/capn-stream.c b/capn-stream.c index 551a5a3..061a5f5 100644 --- a/capn-stream.c +++ b/capn-stream.c @@ -1,4 +1,12 @@ /* vim: set sw=8 ts=8 sts=8 noet: */ +/* capn-stream.c + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include "capn.h" #include diff --git a/capn-test.cpp b/capn-test.cpp index b9a0b9f..a08f35a 100644 --- a/capn-test.cpp +++ b/capn-test.cpp @@ -1,3 +1,11 @@ +/* capn-test.cpp + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include #include diff --git a/capn.c b/capn.c index d9109b3..22f9832 100644 --- a/capn.c +++ b/capn.c @@ -1,4 +1,12 @@ /* vim: set sw=8 ts=8 sts=8 noet: */ +/* capn.c + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include "capn.h" #include diff --git a/capn.h b/capn.h index 2af882d..308311f 100644 --- a/capn.h +++ b/capn.h @@ -1,4 +1,12 @@ /* vim: set sw=8 ts=8 sts=8 noet: */ +/* capn.h + * + * Copyright (C) 2013 James McKaskill + * Copyright (C) 2014 Steve Dee + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ #ifndef CAPN_H #define CAPN_H diff --git a/compiler/capnpc-c.c b/compiler/capnpc-c.c index f4d8580..a742873 100644 --- a/compiler/capnpc-c.c +++ b/compiler/capnpc-c.c @@ -1,3 +1,11 @@ +/* capnpc-c.c + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include "schema.capnp.h" #include "str.h" #include diff --git a/compiler/schema-test.cpp b/compiler/schema-test.cpp index 802039b..ef4d1c3 100644 --- a/compiler/schema-test.cpp +++ b/compiler/schema-test.cpp @@ -1,3 +1,11 @@ +/* schema-test.cpp + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include "schema.capnp.h" #include diff --git a/compiler/str.c b/compiler/str.c index a496872..699ec4b 100644 --- a/compiler/str.c +++ b/compiler/str.c @@ -1,3 +1,11 @@ +/* str.c + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include "str.h" #include #include diff --git a/compiler/str.h b/compiler/str.h index 8502775..fdd6523 100644 --- a/compiler/str.h +++ b/compiler/str.h @@ -1,4 +1,12 @@ /* vim: set sw=8 ts=8 sts=8 noet: */ +/* str.h + * + * Copyright (C) 2013 James McKaskill + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ + #include #include