diff options
author | Russ Cox <rsc@swtch.com> | 2017-01-09 10:43:57 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2017-01-09 15:44:30 +0000 |
commit | c819ee640c1e0369b7ae513985b8bb44e154c0a1 (patch) | |
tree | 76e13b7cbb29f56e426cd6b0fd6aba720ed48479 /src/cmd/9term | |
parent | be7485e1da7966eab4388991e26110570176c744 (diff) | |
download | plan9port-c819ee640c1e0369b7ae513985b8bb44e154c0a1.tar.gz plan9port-c819ee640c1e0369b7ae513985b8bb44e154c0a1.tar.bz2 plan9port-c819ee640c1e0369b7ae513985b8bb44e154c0a1.zip |
9term: c nits
Change-Id: Ia18ebb28f24bc69f404004896f9ce54ddb53faf9
Reviewed-on: https://plan9port-review.googlesource.com/2782
Reviewed-by: Russ Cox <rsc@swtch.com>
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/9term.c | 3 | ||||
-rw-r--r-- | src/cmd/9term/fns.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 192a9bcf..107afed3 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -449,7 +449,8 @@ winterrupt(Window *w) } int -intrc() { +intrc(void) +{ return getintr(sfd); } diff --git a/src/cmd/9term/fns.h b/src/cmd/9term/fns.h index 196f418f..34cebf01 100644 --- a/src/cmd/9term/fns.h +++ b/src/cmd/9term/fns.h @@ -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)) |