Displaying 1 result from an estimated 1 matches for "initshellproc".
2020 Mar 28
0
[klibc:update-dash] dash: mkinit: Split reset into exitreset and reset
...t varflags)
INCLUDE "expand.h"
-RESET {
+EXITRESET {
ifsfree();
}
diff --git a/usr/dash/init.h b/usr/dash/init.h
index e026e868..49791a07 100644
--- a/usr/dash/init.h
+++ b/usr/dash/init.h
@@ -35,5 +35,5 @@
*/
void init(void);
+void exitreset(void);
void reset(void);
-void initshellproc(void);
diff --git a/usr/dash/main.c b/usr/dash/main.c
index 9f037173..8b351189 100644
--- a/usr/dash/main.c
+++ b/usr/dash/main.c
@@ -106,7 +106,7 @@ main(int argc, char **argv)
int e;
int s;
- reset();
+ exitreset();
e = exception;
@@ -114,6 +114,8 @@ main(int argc, char **argv)...