Also add `static` and remove `register` in mach/proto/top/top.c. A static function is only in one file, so its function declaration may go in that file, instead of a header file. |
||
|---|---|---|
| .. | ||
| build.lua | ||
| proto.make | ||
| queue.c | ||
| queue.h | ||
| top.c | ||
| top.h | ||
Also add `static` and remove `register` in mach/proto/top/top.c. A static function is only in one file, so its function declaration may go in that file, instead of a header file. |
||
|---|---|---|
| .. | ||
| build.lua | ||
| proto.make | ||
| queue.c | ||
| queue.h | ||
| top.c | ||
| top.h | ||