diff options
| author | Paul Eggert | 2015-11-20 00:40:45 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-11-20 00:41:21 -0800 |
| commit | c69cec404cbc6b1570c42ca03e0cb42b410d7690 (patch) | |
| tree | 633f48cac6436a0f9c37168eb714d36719b71dfd /src/dynlib.h | |
| parent | aa7dac899804727875cdb8fe267d37adcbe9705a (diff) | |
| download | emacs-c69cec404cbc6b1570c42ca03e0cb42b410d7690.tar.gz emacs-c69cec404cbc6b1570c42ca03e0cb42b410d7690.zip | |
Include-file tweaks for modules
* src/dynlib.c, src/emacs-module.c: Include <config.h> first.
* src/dynlib.h: Do not include config.h.
It’s every .c file’s responsibility to include config.h first.
* src/emacs-module.c: Include emacs-module.h immediately after
config.h, to test that emacs-module.h doesn’t depend on
include files other than config.h.
Diffstat (limited to 'src/dynlib.h')
| -rw-r--r-- | src/dynlib.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dynlib.h b/src/dynlib.h index bd03666b860..1282c4fd719 100644 --- a/src/dynlib.h +++ b/src/dynlib.h | |||
| @@ -20,7 +20,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 20 | #ifndef DYNLIB_H | 20 | #ifndef DYNLIB_H |
| 21 | #define DYNLIB_H | 21 | #define DYNLIB_H |
| 22 | 22 | ||
| 23 | #include <config.h> | ||
| 24 | #include <stdbool.h> | 23 | #include <stdbool.h> |
| 25 | 24 | ||
| 26 | typedef void *dynlib_handle_ptr; | 25 | typedef void *dynlib_handle_ptr; |