1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-18 21:37:21 +00:00

Fix missing prototype adding ttydefs.h, declare tty_baudtosymbol() as static.

This commit is contained in:
Nick Briggs
2022-12-22 16:25:27 -08:00
parent a1e5e6eecc
commit 4853f0e3f5
3 changed files with 18 additions and 3 deletions

View File

@@ -23,6 +23,7 @@
#include "lspglob.h"
#include "commondefs.h"
#include "tty.h"
#include "ttydefs.h"
DLTTY_OUT_COMMAND *DLTTYPortCmd;
DLTTY_IN_CSB *DLTTYIn;
@@ -108,7 +109,7 @@ void tty_put(void)
}
}
speed_t tty_baudtosymbol(short aBaud)
static speed_t tty_baudtosymbol(short aBaud)
{
/* This matches the constants in DLTTY where possible. */
if (aBaud == 0) return (B50);