include/carefulputc: remove a duplicate include

Also tweak a comment.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
Benno Schulenberg 2014-04-28 18:08:42 +02:00 committed by Karel Zak
parent 68411ba260
commit 459e95f391
1 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,12 @@
#ifndef UTIL_LINUX_CAREFUULPUTC_H
#define UTIL_LINUX_CAREFUULPUTC_H
/* putc() for use in write and wall (that sometimes are sgid tty) */
/* Avoid control characters in our locale, and also ASCII control characters.
Note that the locale of the recipient is unknown. */
/*
* A putc() for use in write and wall (that sometimes are sgid tty).
* It avoids control characters in our locale, and also ASCII control
* characters. Note that the locale of the recipient is unknown.
*/
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <ctype.h>