=== modified file 'termkey.c' --- termkey.c 2011-09-05 13:14:09 +0000 +++ termkey.c 2011-09-05 12:58:15 +0000 @@ -256,7 +256,7 @@ continue; #ifdef DEBUG - fprintf(stderr, "Loading the %s driver...\n", drivers[i]->name); + fprintf(stderr, "Loading the %s driver\n", drivers[i]->name); #endif struct TermKeyDriverNode *thisdrv = malloc(sizeof(*thisdrv)); @@ -273,10 +273,6 @@ tail->next = thisdrv; tail = thisdrv; - -#ifdef DEBUG - fprintf(stderr, "Loaded %s driver\n", drivers[i]->name); -#endif } if(!tk->drivers) { @@ -308,9 +304,6 @@ #endif } -#ifdef DEBUG - fprintf(stderr, "Setting termios(3) flags\n"); -#endif tcsetattr(fd, TCSANOW, &termios); } } @@ -320,10 +313,6 @@ if(p->driver->start_driver) (*p->driver->start_driver)(tk, p->info); -#ifdef DEBUG - fprintf(stderr, "Drivers started; termkey instance %p is ready\n", tk); -#endif - return tk; abort_free_drivers: