ref: becccca115f0f2c1f42f12fd891481bd8211eb44
parent: 8d3dbfa11753101bdfdc9fcce43ed5c0756cf0a5
author: mkf <mkf@cloud9p.org>
date: Tue Nov 28 23:59:42 EST 2023
rc.h: refactor
--- a/cmd/rc.h
+++ b/cmd/rc.h
@@ -1,13 +1,13 @@
#pragma once
void rc_main(void);
-int echo_main(int, char**, char *cwd);
-int clear_main(int, char**, char *cwd);
-int check_main(int, char**, char *cwd);
-int cal_main(int, char**, char *cwd);
-int ls_main(int, char**, char *cwd);
-int reboot_main(int, char**, char *cwd);
-int memory_main(int, char**, char *cwd);
+int echo_main(int argc, char** argv, char *cwd);
+int clear_main(int argc, char** argv, char *cwd);
+int check_main(int argc, char** argv, char *cwd);
+int cal_main(int argc, char** argv, char *cwd);
+int ls_main(int argc, char** argv, char *cwd);
+int reboot_main(int argc, char** argv, char *cwd);
+int memory_main(int argc, char** argv, char *cwd);
static prog_t cmdtab[] =
{