diff --git a/src/irmc.c b/src/irmc.c index 55328ca..71fde4e 100644 --- a/src/irmc.c +++ b/src/irmc.c @@ -49,21 +49,6 @@ char last_sender[16]; int translate = 1; int audio_status = 1; -int kbhit (void) -{ - struct timeval tv; - fd_set rdfs; - - tv.tv_sec = 0; - tv.tv_usec = 0; - - FD_ZERO(&rdfs); - FD_SET (STDIN_FILENO, &rdfs); - - select (STDIN_FILENO+1, &rdfs, NULL, NULL, &tv); - return FD_ISSET(STDIN_FILENO, &rdfs); -} - /* get sockaddr, IPv4 or IPv6: */ void *get_in_addr(struct sockaddr *sa)