From c819ee640c1e0369b7ae513985b8bb44e154c0a1 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 9 Jan 2017 10:43:57 -0500 Subject: 9term: c nits Change-Id: Ia18ebb28f24bc69f404004896f9ce54ddb53faf9 Reviewed-on: https://plan9port-review.googlesource.com/2782 Reviewed-by: Russ Cox --- src/cmd/9term/9term.c | 3 ++- src/cmd/9term/fns.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/cmd/9term') 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)) -- cgit v1.2.3