summaryrefslogtreecommitdiffstats
path: root/include/carefulputc.h
diff options
context:
space:
mode:
authorBenno Schulenberg2014-04-28 18:08:42 +0200
committerKarel Zak2014-05-06 11:09:22 +0200
commit459e95f39199c47d11776151f6b4f15537fa1bfb (patch)
tree98c2372ac4547acfb58e94136c184e71d2ac2a9e /include/carefulputc.h
parentinclude/c: remove a duplicate include (diff)
downloadkernel-qcow2-util-linux-459e95f39199c47d11776151f6b4f15537fa1bfb.tar.gz
kernel-qcow2-util-linux-459e95f39199c47d11776151f6b4f15537fa1bfb.tar.xz
kernel-qcow2-util-linux-459e95f39199c47d11776151f6b4f15537fa1bfb.zip
include/carefulputc: remove a duplicate include
Also tweak a comment. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'include/carefulputc.h')
-rw-r--r--include/carefulputc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/carefulputc.h b/include/carefulputc.h
index 2273028d1..f29dc699f 100644
--- a/include/carefulputc.h
+++ b/include/carefulputc.h
@@ -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>