Move incorrect struct declaration

From funcs.h to ast.h (not to be misleading)