Skip to content

Commit

Permalink
[answerback] small cleanup, no need to rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
majnemer committed Dec 31, 2010
1 parent b1fe9d2 commit 26a9ecd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions answerback.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

#include <signal.h> /* for signal handling */
#include <stdio.h> /* fopen(), et al. */
#include <fcntl.h> /* for open */
#include <unistd.h> /* for ssize_t, read, write */
#include <fcntl.h> /* for open() */
#include <unistd.h> /* for ssize_t, read(), write() */
#include <stdlib.h> /* for EXIT_SUCCESS, EXIT_FAILURE */
#include <termios.h> /* ctermid, et al. */
#include <termios.h> /* ctermid(), et al. */

#define ANSWERBACK_LEN 16
#define ANSWERBACK_CODE 5
Expand Down Expand Up @@ -33,7 +33,7 @@ int main()

if (cterm == NULL)
{
fputs("Cannot get the path to the console", stderr);
(void)fputs("Cannot get the path to the console", stderr);
return EXIT_FAILURE;
}

Expand All @@ -51,7 +51,7 @@ int main()

if (atexit(tty_reset) != 0)
{
fputs("Cannot set the exit function", stderr);
(void)fputs("Cannot set the exit function", stderr);
return EXIT_FAILURE;
}

Expand Down

0 comments on commit 26a9ecd

Please sign in to comment.