]> git.alsa-project.org Git - alsa-lib.git/commitdiff
doxygen: seq: silence 'not documented' warnings
authorborine <32966433+borine@users.noreply.github.com>
Sun, 30 Jul 2023 09:22:53 +0000 (10:22 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 1 Sep 2023 14:11:47 +0000 (16:11 +0200)
From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
doc/doxygen.cfg.in
src/seq/seq.c

index 5333f6da97573e8208b62561d2f1607920f050bd..0604c8b2dd083be5b13adb7479f2c37bfb65be67 100644 (file)
@@ -128,7 +128,8 @@ PREDEFINED   = DOXYGEN PIC "DOC_HIDDEN" \
                   ALSA_PCM_NEW_HW_PARAMS_API \
                   _POSIX_C_SOURCE \
                   "use_default_symbol_version(x,y,z)=" \
-                  "link_warning(x,y)="
+                  "link_warning(x,y)=" \
+                  __attribute__((x))=
 
 OPTIMIZE_OUTPUT_FOR_C = YES    # doxygen 1.2.6 option
 TYPEDEF_HIDES_STRUCT = YES     # needed in doxygen >= 1.5.4
index c4f218dfd5a57faf91f90ab9010e6643130cbbfa..899dfe9f96bae98cfd5b8116b04924b66a972b3e 100644 (file)
@@ -1763,7 +1763,9 @@ int snd_seq_client_info_get_ump_group_enabled(const snd_seq_client_info_t *info,
        return !(info->group_filter & (1U << group));
 }
 
+#ifndef DOC_HIDDEN
 #define UMP_GROUPLESS_FILTER   (1U << 0)
+#endif /* DOC_HIDDEN */
 
 /**
  * \brief Get the UMP groupless message handling status