Public in class error

if i use this code i get the error Assets/GameManager.cs(11,7): error CS1519: Unexpected symbol `public’ in class, struct, or interface member declaration, but i dont know why. this is the code

using UnityEngine;

using UnityEngine.SceneManagement;

using UnityEngine.UI;

public class GameManager : MonoBehaviour {

bool gameHasEnded = false;
public void Restart

public void EndGame () 
{
	if (gameHasEnded == false) 
	{
		gameHasEnded = true;
		Debug.Log ("Game over");
		Restart();
	}

}

}

public void Restart
is an incomplete statement. The following “public” keyword thus comes unexpected, as it starts a new statement.
Since Restart seems to be meant as a method, you have to add at least the two sets of braces to it.

public void Restart() { }