mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-18 04:29:07 +00:00
[mod_perl] Fix implicit declaration of function
This commit is contained in:
parent
7a650efc3c
commit
2c5171191a
@ -45,6 +45,7 @@
|
|||||||
#include <EXTERN.h>
|
#include <EXTERN.h>
|
||||||
#include <perl.h>
|
#include <perl.h>
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
|
#include "mod_perl_extra.h"
|
||||||
static char *embedding[] = { "", "-e", "0", NULL };
|
static char *embedding[] = { "", "-e", "0", NULL };
|
||||||
EXTERN_C void xs_init(pTHX);
|
EXTERN_C void xs_init(pTHX);
|
||||||
|
|
||||||
@ -207,7 +208,7 @@ static perl_parse_and_execute(PerlInterpreter * my_perl, char *input_code, char
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void perl_function(switch_core_session_t *session, char *data)
|
static void perl_function(switch_core_session_t *session, const char *data)
|
||||||
{
|
{
|
||||||
char *uuid = switch_core_session_get_uuid(session);
|
char *uuid = switch_core_session_get_uuid(session);
|
||||||
PerlInterpreter *my_perl = clone_perl();
|
PerlInterpreter *my_perl = clone_perl();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user