diff kernel/process.c3 @ 410:6aa9743ed362 tip

Reflect change in c3 public modifier
author Windel Bouwman
date Mon, 23 Feb 2015 21:06:04 +0100
parents ad6be5454067
children
line wrap: on
line diff
--- a/kernel/process.c3	Sat Feb 21 12:17:47 2015 +0100
+++ b/kernel/process.c3	Mon Feb 23 21:06:04 2015 +0100
@@ -16,7 +16,7 @@
 var int next_pid;
 var process_t* current;
 
-function void init()
+public function void init()
 {
     next_pid = 0;
     first_process = 0;
@@ -26,7 +26,7 @@
 /*
     Create a new process.
 */
-function process_t* create()
+public function process_t* create()
 {
     var process_t* p;
 
@@ -64,16 +64,16 @@
     // clean memory
 }
 
-function process_t* byId(int id)
+public function process_t* byId(int id)
 {
     // Perform lookup
     return 0;
 }
 
 
-function void execute_next()
+public function void execute_next()
 {
-    var process.process_t *old;
+    var process_t *old;
 
     old = 0;