We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a00d2d commit 76c4a37Copy full SHA for 76c4a37
nginx/ngx_python_module.c
@@ -1,4 +1,9 @@
1
-#include "ngx_python_module.h"
+#include <ngx_config.h>
2
+#include <ngx_core.h>
3
+#include <ngx_http.h>
4
+#include <Python.h>
5
+#include "nginx.h"
6
+
7
8
static ngx_int_t ngx_python_init_process(ngx_cycle_t *cycle);
9
static void ngx_python_exit_process(ngx_cycle_t *cycle);
nginx/ngx_python_module.h
@@ -1,7 +1 @@
-#include <ngx_config.h>
-#include <ngx_core.h>
-#include <ngx_http.h>
-#include <Python.h>
-#include "nginx.h"
-
-ngx_module_t ngx_python_module;
+extern ngx_module_t ngx_python_module;
0 commit comments