Module: sems Branch: master Commit: 996d1876ffa1126ae53359172844544bbee9d2ca URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=996d1876ffa1126ae53359172844544bbee9d2ca
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Mon Sep 26 14:14:50 2011 +0200 avoid linking error if the header is included in multiple files. --- core/ampi/SIPRegistrarClientAPI.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/core/ampi/SIPRegistrarClientAPI.h b/core/ampi/SIPRegistrarClientAPI.h index 385282b..ea8b6f1 100644 --- a/core/ampi/SIPRegistrarClientAPI.h +++ b/core/ampi/SIPRegistrarClientAPI.h @@ -43,7 +43,7 @@ struct SIPRegistrationEvent : public AmEvent { }; }; -const char* getSIPRegistationStateString(unsigned int s) { +inline const char* getSIPRegistationStateString(unsigned int s) { switch (s) { case 0: return "RegisterPending"; case 1: return "RegisterActive"; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
