summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/Envir
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
commit0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (patch)
treec1e05ec804c43aa5a8f5f21b0ed02d0587d29563 /command_line/CmdLine/Src/Envir
parentaec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff)
downloadMWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz
MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip
getting closer
Diffstat (limited to 'command_line/CmdLine/Src/Envir')
-rw-r--r--command_line/CmdLine/Src/Envir/CLIO.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/command_line/CmdLine/Src/Envir/CLIO.c b/command_line/CmdLine/Src/Envir/CLIO.c
index 70ba9ae..0c07eaf 100644
--- a/command_line/CmdLine/Src/Envir/CLIO.c
+++ b/command_line/CmdLine/Src/Envir/CLIO.c
@@ -24,7 +24,7 @@ static void catchinterrupt() {
clState.userBreak = 1;
}
-static void SetupConsoleInfo() {
+static void SetupConsoleInfo(void) {
struct winsize ws;
struct stat st;
@@ -57,11 +57,11 @@ static void Crash() {
*((unsigned char *) NULL) = 0;
}
-void SetupDebuggingTraps() {
+void SetupDebuggingTraps(void) {
signal(SIGABRT, Crash);
}
-Boolean IO_Initialize() {
+Boolean IO_Initialize(void) {
ioPiping = 0;
ioInHelp = 0;
ioLineNum = 0;
@@ -79,19 +79,19 @@ Boolean IO_Initialize() {
return 1;
}
-Boolean IO_Terminate() {
+Boolean IO_Terminate(void) {
if (ioInHelp)
IO_HelpTerminate();
TermWorking();
return 1;
}
-Boolean IO_HelpInitialize() {
+Boolean IO_HelpInitialize(void) {
ioInHelp = 1;
return 1;
}
-Boolean IO_HelpTerminate() {
+Boolean IO_HelpTerminate(void) {
ioInHelp = 0;
return 1;
}
@@ -229,13 +229,13 @@ Boolean AppendHandleToFile(OSSpec *spec, Handle text, UInt32 size, CWDataType ma
return 1;
}
-void InitWorking() {
+void InitWorking(void) {
}
void ShowWorking(int x) {
}
-void TermWorking() {
+void TermWorking(void) {
}
static void ProgressFunction(const char *functionname) {
@@ -243,7 +243,7 @@ static void ProgressFunction(const char *functionname) {
CLReport(7, functionname);
}
-Boolean CheckForUserBreak() {
+Boolean CheckForUserBreak(void) {
ShowWorking(4);
return clState.userBreak;
}