X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=chan_lcr.c;h=a81e48db126ae3aa7f3675c89ef0b06fd21b14e5;hp=2903243b742ef69e879680ad18e2c33aa273dccf;hb=ad9a780ce71095bd785eeea8cd6f58606c66ce79;hpb=1c32d75c7e3e617082c9572f0e6ababc6bacc336 diff --git a/chan_lcr.c b/chan_lcr.c index 2903243..a81e48d 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -136,6 +136,13 @@ it is called from ast_channel process which has already locked ast_channel. #ifdef LCR_FOR_ASTERISK #include #endif + +/* + * Fwd declare struct ast_channel to get rid of gcc warning about + * incompatible pointer type passed to ast_register_application2. + */ +struct ast_channel; + #include #include #include