aboutsummaryrefslogtreecommitdiffstats
path: root/src/emacs-module.c
diff options
context:
space:
mode:
authorPaul Eggert2015-11-20 00:40:45 -0800
committerPaul Eggert2015-11-20 00:41:21 -0800
commitc69cec404cbc6b1570c42ca03e0cb42b410d7690 (patch)
tree633f48cac6436a0f9c37168eb714d36719b71dfd /src/emacs-module.c
parentaa7dac899804727875cdb8fe267d37adcbe9705a (diff)
downloademacs-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/emacs-module.c')
-rw-r--r--src/emacs-module.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c
index e885af5de8f..25c5e019881 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -17,14 +17,16 @@ GNU General Public License for more details.
17You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20#include <config.h>
21
22#include "emacs-module.h"
23
20#include <stdbool.h> 24#include <stdbool.h>
21#include <stddef.h> 25#include <stddef.h>
22#include <stdint.h> 26#include <stdint.h>
23#include <stdio.h> 27#include <stdio.h>
24 28
25#include <config.h>
26#include "lisp.h" 29#include "lisp.h"
27#include "emacs-module.h"
28#include "dynlib.h" 30#include "dynlib.h"
29#include "coding.h" 31#include "coding.h"
30#include "verify.h" 32#include "verify.h"