]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Updated the doxygen configuration and error.c file.
authorJaroslav Kysela <perex@perex.cz>
Wed, 21 Mar 2001 15:52:23 +0000 (15:52 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 21 Mar 2001 15:52:23 +0000 (15:52 +0000)
doc/doxygen.cfg
src/error.c

index 5f9e93e690b6a983004cece44a6876f9c6083758..861ca6cca6521767f9d1ed5ec311f1bbc4eefc1d 100644 (file)
@@ -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
index 4b547139bde56b5dffdfbae1adbe0696944e00b2..53b6d71d1e87fdf1faf47c85778a0a17fb328466 100644 (file)
@@ -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.