merge function declaration/definition