From 463f2817e8685d6d1fbc3b4d6486d0aa05e3a48f Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Sun, 7 Feb 2016 19:55:25 +0100 Subject: [PATCH] presence_mwi: static declaration for inline function for eating spaces - based on a report by Anthony Messina, GH #502 - get rid of undefined symbols for some compilers (cherry picked from commit 619988ad6cf54d7e8154a9efb65ce2b9cb475e54) --- modules/presence_mwi/add_events.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/presence_mwi/add_events.c b/modules/presence_mwi/add_events.c index c2dda4e59f5..8f585086caf 100644 --- a/modules/presence_mwi/add_events.c +++ b/modules/presence_mwi/add_events.c @@ -40,14 +40,14 @@ #include "presence_mwi.h" /*! \brief utility function that skips spaces and tabs */ -inline char *eat_sp_tab(char *at, char *over) +static inline char *eat_sp_tab(char *at, char *over) { while((at < over) && ((*at == ' ') || (*at == '\t'))) at++; return at; } /*! \brief utility function that skips printable ascii chars */ -inline char *eat_printable(char *at, char *over) +static inline char *eat_printable(char *at, char *over) { while ((at < over) && ((*at == '\t') || ((*at >= 32) && (*at <= 126)))) at++;