]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
Minor documentation update.
authorSimon Ruderich <simon@ruderich.org>
Sat, 15 Jun 2013 00:21:27 +0000 (02:21 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 15 Jun 2013 00:21:27 +0000 (02:21 +0200)
configure.ac
src/coloredstderr.c
src/compiler.h

index a939d8affe5c558827d2117faf541cc3dbf64c77..0a8f2a86cb732bdfc40ccf59d0eb213d46db0a18 100644 (file)
@@ -80,7 +80,7 @@ AC_ARG_ENABLE([debug],
                    AC_DEFINE([WARNING], 1)
                fi])
 
-dnl Used in tests/Makefile.am to build the test only if error() is available.
+dnl Used in tests/Makefile.am to build the test only if function is available.
 AM_CONDITIONAL([HAVE_ERROR_H],[test "x$ac_cv_header_error_h" = xyes])
 AM_CONDITIONAL([HAVE_VFORK],[test "x$ac_cv_func_vfork_works" = xyes])
 
index 34d329366bbec558db68bdb4bab0feb154dc14fa..eb9d92cc3c1148d6160e87c4aade4171d8fd2c91 100644 (file)
@@ -265,7 +265,7 @@ HOOK_FD2(int, __overflow, f->_fileno, _IO_FILE *, f, int, ch)
 HOOK_VOID1(void, perror, STDERR_FILENO,
            char const *, s)
 
-/* error(3) */
+/* error(3), non-standard GNU extension */
 #ifdef HAVE_ERROR_H
 static void error_vararg(int status, int errnum,
                          char const *filename, unsigned int linenum,
index 5ede8b21802e3610eb4385640948feb5102896c9..85b58b1d90dc86e9f002c36099d156148cec50f6 100644 (file)
 #ifndef COMPILER_H
 #define COMPILER_H 1
 
-/* Prevent/force inlining. Used to improve performance. */
 #ifdef HAVE___ATTRIBUTE__
+/* Prevent/force inlining. Used to improve performance. */
 # define noinline      __attribute__((noinline))
 # define always_inline __attribute__((always_inline))
+/* Unused parameter. */
 # define unused        __attribute__((unused))
 #else
 # define noinline