From: Anthony Whitehead Date: Wed, 31 May 2000 14:20:57 +0000 (+0000) Subject: Added changes suggested by Stanislav Borutsky with respect to NSAPI_PUBLIC. X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=678508b426dbc69c71771e1d1593cc8e057f8364;p=php Added changes suggested by Stanislav Borutsky with respect to NSAPI_PUBLIC. --- diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index e413c6ed25..80e6367e73 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -20,7 +20,6 @@ * PHP includes */ #define NSAPI 1 -#define XP_UNIX #include "php.h" #include "php_variables.h" @@ -56,11 +55,6 @@ #include "base/util.h" /* is_mozilla, getline */ #include "frame/log.h" /* log_error */ -/* for unix */ -#ifndef WINAPI - #define WINAPI -#endif - /* * Timeout for net_read(). This should probably go into php.ini */ @@ -496,7 +490,7 @@ nsapi_module_main(NSLS_D SLS_DC) return SUCCESS; } -void WINAPI +void NSAPI_PUBLIC php4_close(void *vparam) { if (sapi_module.shutdown) { @@ -505,7 +499,7 @@ php4_close(void *vparam) tsrm_shutdown(); } -int WINAPI +int NSAPI_PUBLIC php4_init(pblock *pb, Session *sn, Request *rq) { php_core_globals *core_globals; @@ -520,7 +514,7 @@ php4_init(pblock *pb, Session *sn, Request *rq) return REQ_PROCEED; } -int WINAPI +int NSAPI_PUBLIC php4_execute(pblock *pb, Session *sn, Request *rq) { int retval; @@ -559,7 +553,7 @@ php4_execute(pblock *pb, Session *sn, Request *rq) / / AuthTrans fn="php4_auth_trans" /*********************************************************/ -int WINAPI +int NSAPI_PUBLIC php4_auth_trans(pblock * pb, Session * sn, Request * rq) { /*This is a DO NOTHING function that allows authentication information