diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 2e1564eaba..425d615c55 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -177,7 +177,7 @@ switch_mutex_unlock(obj->flag_mutex); #define switch_set_string(_dst, _src) switch_copy_string(_dst, _src, sizeof(_dst)) -static __inline__ char *switch_clean_string(char *s) +static inline char *switch_clean_string(char *s) { char *p; for (p = s; p && *p; p++) { uint8_t x = (uint8_t) *p; if (x < 32 || x > 127) { *p = ' '; }