From: Jaroslav Kysela Date: Wed, 21 Mar 2001 15:52:23 +0000 (+0000) Subject: Updated the doxygen configuration and error.c file. X-Git-Tag: v1.0.3~916 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=5e44a3114d8fbac3f6d93ffde3b18f28e8253446;p=alsa-lib.git Updated the doxygen configuration and error.c file. --- diff --git a/doc/doxygen.cfg b/doc/doxygen.cfg index 5f9e93e6..861ca6cc 100644 --- a/doc/doxygen.cfg +++ b/doc/doxygen.cfg @@ -28,6 +28,7 @@ EXTRACT_ALL = NO EXTRACT_STATIC = NO JAVADOC_AUTOBRIEF = NO INHERIT_DOCS = YES -ENABLED_SECTIONS = "static" +ENABLED_SECTIONS = "" +PREDEFINED = "DOC_HIDDEN" OPTIMIZE_OUTPUT_FOR_C = YES # doxygen 1.2.6 option diff --git a/src/error.c b/src/error.c index 4b547139..53b6d71d 100644 --- a/src/error.c +++ b/src/error.c @@ -31,9 +31,7 @@ #include "local.h" /** - * \if static * Array of error codes in US ASCII. - * \endif */ static const char *snd_error_codes[] = { @@ -59,7 +57,6 @@ const char *snd_strerror(int errnum) } /** - * \if static * \brief The default error handler function. * \param file The filename where the error was hit. * \param line The line number. @@ -69,7 +66,6 @@ const char *snd_strerror(int errnum) * \param ... Optional arguments. * * Prints the error message including location to stderr. - * \endif */ static void snd_lib_error_default(const char *file, int line, const char *function, int err, const char *fmt, ...) { @@ -83,10 +79,12 @@ static void snd_lib_error_default(const char *file, int line, const char *functi va_end(arg); } +#ifndef DOC_HIDDEN /** * Pointer to the error handler function. */ snd_lib_error_handler_t *snd_lib_error = snd_lib_error_default; +#endif /** * \brief Set the error handler.