diff options
Diffstat (limited to '')
-rw-r--r-- | command_line/CmdLine/Src/Envir/CLIO.c | 18 |
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; } |