Get rid of inline warning from clang

This commit is contained in:
Nils O. Selåsdal
2013-06-27 20:58:23 +02:00
parent 9b7db5440e
commit a8dcf6edff
+1 -1
View File
@@ -79,7 +79,7 @@ static const char *const g_log_levels[] = {
"NONE" "NONE"
}; };
inline const char *uc_ll_2_str(enum UC_LOG_LEVEL l) const char *uc_ll_2_str(enum UC_LOG_LEVEL l)
{ {
if (l < ARRAY_SIZE(g_log_levels)) { if (l < ARRAY_SIZE(g_log_levels)) {
return g_log_levels[l]; return g_log_levels[l];