From: Richard Mudgett Date: Wed, 5 Mar 2014 00:55:50 +0000 (+0000) Subject: stasis: Made internal_stasis_subscribe() prototype and definition match exactly. X-Git-Tag: 12.2.0-rc1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b5d779807177491c5a97dd9db64eaeb37f367f3;p=thirdparty%2Fasterisk.git stasis: Made internal_stasis_subscribe() prototype and definition match exactly. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@409682 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/stasis_internal.h b/include/asterisk/stasis_internal.h index 01e5812422..bb7b6cc0a2 100644 --- a/include/asterisk/stasis_internal.h +++ b/include/asterisk/stasis_internal.h @@ -16,9 +16,6 @@ * at the top of the source tree. */ -#ifndef STASIS_INTERNAL_H_ -#define STASIS_INTERNAL_H_ - /*! \file * * \brief Internal Stasis APIs. @@ -33,9 +30,10 @@ * \author Matt Jordan */ -struct stasis_topic; -struct stasis_subscription; -struct stasis_message; +#include "asterisk/stasis.h" + +#ifndef STASIS_INTERNAL_H_ +#define STASIS_INTERNAL_H_ /*! * \brief Create a subscription. @@ -62,7 +60,7 @@ struct stasis_message; */ struct stasis_subscription *internal_stasis_subscribe( struct stasis_topic *topic, - void (*stasis_subscription_cb)(void *data, struct stasis_subscription *sub, struct stasis_message *message), + stasis_subscription_cb callback, void *data, int needs_mailbox);