diff options
Diffstat (limited to 'src/cmd')
-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)) |