浏览代码

tools/dev: add copyright

Nathalie Furmento 13 年之前
父节点
当前提交
78db452322
共有 2 个文件被更改,包括 31 次插入1 次删除
  1. 16 1
      tools/dev/starpu_check_register.cocci
  2. 15 0
      tools/dev/starpu_funcs.cocci

+ 16 - 1
tools/dev/starpu_check_register.cocci

@@ -1,10 +1,25 @@
+// StarPU --- Runtime system for heterogeneous multicore architectures.
+//
+// Copyright (C) 2011 Institut National de Recherche en Informatique et Automatique
+//
+// StarPU is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation; either version 2.1 of the License, or (at
+// your option) any later version.
+//
+// StarPU is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+//
+// See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 @initialize:python@
 handles = {}
 
 
 @select@
 position p;
-identifier f =~ "^starpu_.*_data_register$";
+identifier f ~= "^starpu_.*_data_register$";
 identifier e;
 @@
 <...

+ 15 - 0
tools/dev/starpu_funcs.cocci

@@ -1,3 +1,18 @@
+// StarPU --- Runtime system for heterogeneous multicore architectures.
+//
+// Copyright (C) 2011 Institut National de Recherche en Informatique et Automatique
+//
+// StarPU is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation; either version 2.1 of the License, or (at
+// your option) any later version.
+//
+// StarPU is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+//
+// See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 @starpufunc@
 position p;
 type t;