Fix initial $smcFunc's text function declarations

Signed-off-by: Shitiz Garg <mail@dragooon.net>