From 08e79fc5a39aac374d5e44e3ef2c37001b7f2bd5 Mon Sep 17 00:00:00 2001 From: borine <32966433+borine@users.noreply.github.com> Date: Wed, 2 Aug 2023 14:40:29 +0100 Subject: [PATCH] doxygen: include docs for shmarea functions From: borine@github Link: https://github.com/alsa-project/alsa-lib/pull/340 Signed-off-by: Jaroslav Kysela --- doc/doxygen.cfg.in | 1 + include/global.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/doxygen.cfg.in b/doc/doxygen.cfg.in index d9292fa8..8bf29b21 100644 --- a/doc/doxygen.cfg.in +++ b/doc/doxygen.cfg.in @@ -112,6 +112,7 @@ EXCLUDE = @top_srcdir@/src/control/control_local.h \ @top_srcdir@/src/topology/tplg_local.h RECURSIVE = YES FILE_PATTERNS = *.c *.h +INCLUDE_PATH = @top_builddir@/include EXAMPLE_PATH = @top_srcdir@/test IMAGE_PATH = @top_srcdir@/doc/pictures QUIET = YES diff --git a/include/global.h b/include/global.h index f8124769..dfe9bc2b 100644 --- a/include/global.h +++ b/include/global.h @@ -128,11 +128,9 @@ int snd_async_handler_get_fd(snd_async_handler_t *handler); int snd_async_handler_get_signo(snd_async_handler_t *handler); void *snd_async_handler_get_callback_private(snd_async_handler_t *handler); -#ifdef HAVE_SYS_SHM_H struct snd_shm_area *snd_shm_area_create(int shmid, void *ptr); struct snd_shm_area *snd_shm_area_share(struct snd_shm_area *area); int snd_shm_area_destroy(struct snd_shm_area *area); -#endif int snd_user_file(const char *file, char **result); -- 2.47.1