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:
Russ Cox 2017-01-09 10:43:57 -05:00
parent be7485e1da
commit c819ee640c
2 changed files with 3 additions and 2 deletions

View file

@ -449,7 +449,8 @@ winterrupt(Window *w)
}
int
intrc() {
intrc(void)
{
return getintr(sfd);
}

View file

@ -31,7 +31,7 @@ void timerinit(void);
int goodrect(Rectangle);
int rawon(void);
void winterrupt(Window*);
int intrc();
int intrc(void);
#define runemalloc(n) malloc((n)*sizeof(Rune))
#define runerealloc(a, n) realloc(a, (n)*sizeof(Rune))