From: Benno Schulenberg Date: Mon, 28 Apr 2014 15:52:42 +0000 (+0200) Subject: include/c: remove a duplicate include X-Git-Tag: v2.25-rc1~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68411ba260c55d527b8e702daeeff02c2f2a27d7;p=thirdparty%2Futil-linux.git include/c: remove a duplicate include Also tweak some comments. Signed-off-by: Benno Schulenberg --- diff --git a/include/c.h b/include/c.h index 6b8793a66f..7321ed0141 100644 --- a/include/c.h +++ b/include/c.h @@ -19,12 +19,8 @@ # include #endif -#ifndef HAVE_USLEEP -# include -#endif - /* - * Compiler specific stuff + * Compiler-specific stuff */ #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ @@ -70,9 +66,10 @@ # endif #endif -/* Force a compilation error if condition is true, but also produce a +/* + * Force a compilation error if condition is true, but also produce a * result (of value 0 and type size_t), so the expression can be used - * e.g. in a structure initializer (or where-ever else comma expressions + * e.g. in a structure initializer (or wherever else comma expressions * aren't permitted). */ #define UL_BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) @@ -254,9 +251,9 @@ static inline size_t get_hostname_max(void) } /* - * The usleep function is marked obsolete in POSIX.1-2001 and removed in - * POSIX.1-2008. This is replaced with nanosleep() that provides more - * advantages (like no interaction with signals and other timer functions. + * The usleep function was marked obsolete in POSIX.1-2001 and was removed + * in POSIX.1-2008. It was replaced with nanosleep() that provides more + * advantages (like no interaction with signals and other timer functions). */ #include