mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-30 01:02:29 +00:00
Apply some touchups
This commit is contained in:
parent
9f149e1de3
commit
2f3bd90216
139 changed files with 1188 additions and 1154 deletions
|
@ -22,10 +22,10 @@
|
|||
#include "libc/calls/termios.internal.h"
|
||||
#include "libc/dce.h"
|
||||
|
||||
void termios2linux(struct termios *lt, const union metatermios *t) {
|
||||
void __termios2linux(struct termios *lt, const union metatermios *t) {
|
||||
if (IsXnu()) {
|
||||
COPY_TERMIOS(lt, &t->xnu);
|
||||
} else if (IsFreebsd() || IsOpenbsd()) {
|
||||
} else if (IsFreebsd() || IsOpenbsd() || IsNetbsd()) {
|
||||
COPY_TERMIOS(lt, &t->bsd);
|
||||
} else {
|
||||
memcpy(lt, &t->linux, sizeof(*lt));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue