CComponents: replace __FUNCTION__ with __func__

__func__ is more suitable for portability


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8442b39c28
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-12-15 16:57:11 +01:00
parent 07aa4b44e7
commit 66242f7641
8 changed files with 32 additions and 32 deletions

View File

@@ -100,7 +100,7 @@ void CComponentsItem::paintInit(bool do_save_bg)
v_fbdata.push_back(fbdata[i]);
}
#ifdef DEBUG_CC
printf("[CComponentsItem] %s:\ncc_item_type: %d\ncc_item_index = %d\nheight = %d\nwidth = %d\n", __FUNCTION__, cc_item_type, cc_item_index, height, width);
printf("[CComponentsItem] %s:\ncc_item_type: %d\ncc_item_index = %d\nheight = %d\nwidth = %d\n", __func__, cc_item_type, cc_item_index, height, width);
#endif
paintFbItems(do_save_bg);
}
@@ -150,7 +150,7 @@ int CComponentsItem::getItemType()
return i;
}
#ifdef DEBUG_CC
printf("[CComponentsItem] %s: unknown item type requested...\n", __FUNCTION__);
printf("[CComponentsItem] %s: unknown item type requested...\n", __func__);
#endif
return -1;
}