stack func lib compile warning fix

Sort func lib framework define.

Signed-off-by: Mingming Zhang <fishtown.mm@gmail.com>