Functions start with the func keyword; otherwise they look very similar to C. Since there are no forward declarations of any kind in C2, there is just one form, which is the function definition itself:

public func int32 main(int32 argc, char*[] argv) {
    return 0;

Functions can also have attributes. More information on attributes can be found here.