From: Simon Ruderich Date: Sat, 15 Jun 2013 00:21:27 +0000 (+0200) Subject: Minor documentation update. X-Git-Tag: 0.1~40 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1068648718dad86471451266fcdf4248bb79f3fe;p=coloredstderr%2Fcoloredstderr.git Minor documentation update. --- diff --git a/configure.ac b/configure.ac index a939d8a..0a8f2a8 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/src/coloredstderr.c b/src/coloredstderr.c index 34d3293..eb9d92c 100644 --- a/src/coloredstderr.c +++ b/src/coloredstderr.c @@ -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, diff --git a/src/compiler.h b/src/compiler.h index 5ede8b2..85b58b1 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -20,10 +20,11 @@ #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