From c8eb1483689748153bd426b8d48f6fb6085e5adc Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Tue, 28 Jan 2003 10:49:56 +0000 Subject: [PATCH] Expose php_embed_module struct (and make Wez happy). --- sapi/embed/php_embed.c | 2 +- sapi/embed/php_embed.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c index 79e6f801d8..10cf6ed3ee 100644 --- a/sapi/embed/php_embed.c +++ b/sapi/embed/php_embed.c @@ -99,7 +99,7 @@ static int php_embed_startup(sapi_module_struct *sapi_module) return SUCCESS; } -static sapi_module_struct php_embed_module = { +sapi_module_struct php_embed_module = { "embedded", /* name */ "PHP Embedded Library", /* pretty name */ diff --git a/sapi/embed/php_embed.h b/sapi/embed/php_embed.h index e5b6962d8d..2a0d88e1e7 100644 --- a/sapi/embed/php_embed.h +++ b/sapi/embed/php_embed.h @@ -54,6 +54,7 @@ BEGIN_EXTERN_C() int php_embed_init(int argc, char **argv PTSRMLS_DC); void php_embed_shutdown(TSRMLS_D); +extern sapi_module_struct php_embed_module; END_EXTERN_C() -- 2.40.0