emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 c8404f4: Add copyright notices to module code


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 c8404f4: Add copyright notices to module code
Date: Thu, 19 Nov 2015 16:14:56 +0000

branch: emacs-25
commit c8404f48a33ad39bca57e1442e23fc02573aed20
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Add copyright notices to module code
    
    Put them in the usual format for GNU Emacs copyright notices.
---
 modules/mod-test/Makefile   |   18 ++++++++++++++++++
 modules/mod-test/mod-test.c |   19 +++++++++++++++++++
 modules/mod-test/test.el    |   21 ++++++++++++++++++---
 modules/modhelp.py          |   20 ++++++++++++++++++++
 src/dynlib.c                |   34 +++++++++++++++++++++++++---------
 src/dynlib.h                |   19 +++++++++++++++++++
 src/module.h                |   29 ++++++++++++++---------------
 7 files changed, 133 insertions(+), 27 deletions(-)

diff --git a/modules/mod-test/Makefile b/modules/mod-test/Makefile
index 18778f0..654c22a 100644
--- a/modules/mod-test/Makefile
+++ b/modules/mod-test/Makefile
@@ -1,3 +1,21 @@
+# Test GNU Emacs modules.
+
+# Copyright 2015 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# GNU Emacs 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 General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
 ROOT = ../..
 
diff --git a/modules/mod-test/mod-test.c b/modules/mod-test/mod-test.c
index db5516e..04b6122 100644
--- a/modules/mod-test/mod-test.c
+++ b/modules/mod-test/mod-test.c
@@ -1,3 +1,22 @@
+/* Test GNU Emacs modules.
+
+Copyright 2015 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+GNU Emacs 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
+
 #include <assert.h>
 #include <stdio.h>
 #include <module.h>
diff --git a/modules/mod-test/test.el b/modules/mod-test/test.el
index 1242b6a..ed584eb 100644
--- a/modules/mod-test/test.el
+++ b/modules/mod-test/test.el
@@ -1,6 +1,21 @@
-;;
-;; Dynamic modules tests
-;;
+;;; Test GNU Emacs modules.
+
+;; Copyright 2015 Free Software Foundation, Inc.
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; GNU Emacs 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 General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 (require 'ert)
 
diff --git a/modules/modhelp.py b/modules/modhelp.py
index 57bed50..5afe8f2 100755
--- a/modules/modhelp.py
+++ b/modules/modhelp.py
@@ -1,4 +1,24 @@
 #!/usr/bin/env python
+
+# Module helper script.
+
+# Copyright 2015 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# GNU Emacs 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 General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
+
 import os
 import string
 import subprocess as sp
diff --git a/src/dynlib.c b/src/dynlib.c
index f947809..fbc5f9b 100644
--- a/src/dynlib.c
+++ b/src/dynlib.c
@@ -1,12 +1,28 @@
-/*
- *              Portable API for dynamic loading
- *
- *  Assuming modules are enabled on modern systems...  *Yes*, the
- *  preprocessor macro checks could be more precise.  I don't care.
- *
- *  If you think the abstraction is too leaky use libltdl (libtool),
- *  don't reinvent the wheel by fixing this one.
- */
+/* Portable API for dynamic loading.
+
+Copyright 2015 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+GNU Emacs 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
+
+
+/* Assume modules are enabled on modern systems...  *Yes*, the
+   preprocessor macro checks could be more precise.  I don't care.
+
+   If you think the abstraction is too leaky use libltdl (libtool),
+   don't reinvent the wheel by fixing this one.  */
 
 #include "dynlib.h"
 
diff --git a/src/dynlib.h b/src/dynlib.h
index 229fc96..852842d 100644
--- a/src/dynlib.h
+++ b/src/dynlib.h
@@ -1,3 +1,22 @@
+/* Portable API for dynamic loading.
+
+Copyright 2015 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+GNU Emacs 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
+
 #ifndef DYNLIB_H
 #define DYNLIB_H
 
diff --git a/src/module.h b/src/module.h
index b4c3ff8..9f43c89 100644
--- a/src/module.h
+++ b/src/module.h
@@ -1,22 +1,21 @@
-/*
-  module.h - Module API
-  Copyright (C) 2015 Free Software Foundation, Inc.
+/* module.h - GNU Emacs module API.
 
-  This file is part of GNU Emacs.
+Copyright (C) 2015 Free Software Foundation, Inc.
 
-  GNU Emacs is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+This file is part of GNU Emacs.
 
-  GNU Emacs 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 General Public License for more details.
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
 
-  You should have received a copy of the GNU General Public License
-  along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
-*/
+GNU Emacs 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #ifndef EMACS_MODULE_H
 #define EMACS_MODULE_H



reply via email to

[Prev in Thread] Current Thread [Next in Thread]