src/Pure/System/cygwin.scala
changeset 73340 0ffcad1f6130
parent 73120 c3589f2dff31
child 73890 8f6b2eb15240
--- a/src/Pure/System/cygwin.scala	Mon Mar 01 20:12:09 2021 +0100
+++ b/src/Pure/System/cygwin.scala	Mon Mar 01 22:22:12 2021 +0100
@@ -17,11 +17,11 @@
 {
   /* init (e.g. after extraction via 7zip) */
 
-  def init(isabelle_root: String, cygwin_root: String)
+  def init(isabelle_root: String, cygwin_root: String): Unit =
   {
     require(Platform.is_windows, "Windows platform expected")
 
-    def exec(cmdline: String*)
+    def exec(cmdline: String*): Unit =
     {
       val cwd = new JFile(isabelle_root)
       val env = sys.env + ("CYGWIN" -> "nodosfilewarning")
@@ -56,7 +56,7 @@
     }
   }
 
-  def link(content: String, target: JFile)
+  def link(content: String, target: JFile): Unit =
   {
     val target_path = target.toPath