Minor documentation update.

This commit is contained in:
Simon Ruderich
2013-06-15 02:21:27 +02:00
parent 0a909cac79
commit 1068648718
3 changed files with 4 additions and 3 deletions

View 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])

View 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,

View File

@@ -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