summaryrefslogtreecommitdiff
path: root/miscutils/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/rx.c')
-rw-r--r--miscutils/rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/rx.c b/miscutils/rx.c
index 29848b1..6e79f34 100644
--- a/miscutils/rx.c
+++ b/miscutils/rx.c
@@ -43,7 +43,8 @@ Cf:
#define TIMEOUT_LONG 10
#define MAXERRORS 10
-static int read_byte(int fd, unsigned int timeout) {
+static int read_byte(int fd, unsigned int timeout)
+{
char buf[1];
int n;