Is there a reason that the second notation uses a semicolon?
Here's the definition:
we say $g(x;y)$ is a Green's function
$$g(x;y) = \left\{ \begin{array}{lr} \sin(kx)\sin(k(y-1)/k\sin(k) & : x \lt y\\ \sin(ky)\sin(k(x-1)/k\sin(k) & : y \lt x\\ \end{array} \right.$$