diff options
| author | Paul Eggert | 2015-11-19 08:14:00 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-11-19 08:14:51 -0800 |
| commit | c8404f48a33ad39bca57e1442e23fc02573aed20 (patch) | |
| tree | 8c1e884287a5d768a91fd7de1e0891357e1b8097 /src | |
| parent | 80f19fb898b574b345b908dfd6a98c965de4136f (diff) | |
| download | emacs-c8404f48a33ad39bca57e1442e23fc02573aed20.tar.gz emacs-c8404f48a33ad39bca57e1442e23fc02573aed20.zip | |
Add copyright notices to module code
Put them in the usual format for GNU Emacs copyright notices.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynlib.c | 34 | ||||
| -rw-r--r-- | src/dynlib.h | 19 | ||||
| -rw-r--r-- | src/module.h | 29 |
3 files changed, 58 insertions, 24 deletions
diff --git a/src/dynlib.c b/src/dynlib.c index f9478099169..fbc5f9b873b 100644 --- a/src/dynlib.c +++ b/src/dynlib.c | |||
| @@ -1,12 +1,28 @@ | |||
| 1 | /* | 1 | /* Portable API for dynamic loading. |
| 2 | * Portable API for dynamic loading | 2 | |
| 3 | * | 3 | Copyright 2015 Free Software Foundation, Inc. |
| 4 | * Assuming modules are enabled on modern systems... *Yes*, the | 4 | |
| 5 | * preprocessor macro checks could be more precise. I don't care. | 5 | This file is part of GNU Emacs. |
| 6 | * | 6 | |
| 7 | * If you think the abstraction is too leaky use libltdl (libtool), | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | * don't reinvent the wheel by fixing this one. | 8 | it under the terms of the GNU General Public License as published by |
| 9 | */ | 9 | the Free Software Foundation, either version 3 of the License, or |
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | |||
| 21 | /* Assume modules are enabled on modern systems... *Yes*, the | ||
| 22 | preprocessor macro checks could be more precise. I don't care. | ||
| 23 | |||
| 24 | If you think the abstraction is too leaky use libltdl (libtool), | ||
| 25 | don't reinvent the wheel by fixing this one. */ | ||
| 10 | 26 | ||
| 11 | #include "dynlib.h" | 27 | #include "dynlib.h" |
| 12 | 28 | ||
diff --git a/src/dynlib.h b/src/dynlib.h index 229fc960221..852842df478 100644 --- a/src/dynlib.h +++ b/src/dynlib.h | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | /* Portable API for dynamic loading. | ||
| 2 | |||
| 3 | Copyright 2015 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 1 | #ifndef DYNLIB_H | 20 | #ifndef DYNLIB_H |
| 2 | #define DYNLIB_H | 21 | #define DYNLIB_H |
| 3 | 22 | ||
diff --git a/src/module.h b/src/module.h index b4c3ff83b57..9f43c898af4 100644 --- a/src/module.h +++ b/src/module.h | |||
| @@ -1,22 +1,21 @@ | |||
| 1 | /* | 1 | /* module.h - GNU Emacs module API. |
| 2 | module.h - Module API | ||
| 3 | Copyright (C) 2015 Free Software Foundation, Inc. | ||
| 4 | 2 | ||
| 5 | This file is part of GNU Emacs. | 3 | Copyright (C) 2015 Free Software Foundation, Inc. |
| 6 | 4 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 5 | This file is part of GNU Emacs. |
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | 6 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 | it under the terms of the GNU General Public License as published by |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 9 | the Free Software Foundation, either version 3 of the License, or |
| 15 | GNU General Public License for more details. | 10 | (at your option) any later version. |
| 16 | 11 | ||
| 17 | You should have received a copy of the GNU General Public License | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | */ | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 20 | 19 | ||
| 21 | #ifndef EMACS_MODULE_H | 20 | #ifndef EMACS_MODULE_H |
| 22 | #define EMACS_MODULE_H | 21 | #define EMACS_MODULE_H |