]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include/carefulputc: remove a duplicate include
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 28 Apr 2014 16:08:42 +0000 (18:08 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 May 2014 09:09:22 +0000 (11:09 +0200)
Also tweak a comment.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
include/carefulputc.h

index 2273028d1368d507b35c491e08b9424fecf85e37..f29dc699fae6d52dabf0b798d89e3a08d3a0f6a2 100644 (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>