mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
9term: c nits
Change-Id: Ia18ebb28f24bc69f404004896f9ce54ddb53faf9 Reviewed-on: https://plan9port-review.googlesource.com/2782 Reviewed-by: Russ Cox <rsc@swtch.com>
This commit is contained in:
parent
be7485e1da
commit
c819ee640c
2 changed files with 3 additions and 2 deletions
|
@ -449,7 +449,8 @@ winterrupt(Window *w)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
intrc() {
|
intrc(void)
|
||||||
|
{
|
||||||
return getintr(sfd);
|
return getintr(sfd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ void timerinit(void);
|
||||||
int goodrect(Rectangle);
|
int goodrect(Rectangle);
|
||||||
int rawon(void);
|
int rawon(void);
|
||||||
void winterrupt(Window*);
|
void winterrupt(Window*);
|
||||||
int intrc();
|
int intrc(void);
|
||||||
|
|
||||||
#define runemalloc(n) malloc((n)*sizeof(Rune))
|
#define runemalloc(n) malloc((n)*sizeof(Rune))
|
||||||
#define runerealloc(a, n) realloc(a, (n)*sizeof(Rune))
|
#define runerealloc(a, n) realloc(a, (n)*sizeof(Rune))
|
||||||
|
|
Loading…
Reference in a new issue