Documentation generation fixes

This commit is contained in:
Abramo Bagnara 2001-03-30 10:12:19 +00:00
parent b4ac62f3dd
commit 62b2da1186
11 changed files with 15 additions and 17 deletions

View file

@ -28,7 +28,6 @@
*
*/
#ifndef DOC_HIDDEN
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -38,6 +37,8 @@
#include <math.h>
#include "mixer_local.h"
#ifndef DOC_HIDDEN
#define CAP_GVOLUME (1<<1)
#define CAP_GSWITCH (1<<2)
#define CAP_PVOLUME (1<<3)
@ -92,8 +93,6 @@ typedef struct _selem {
} str[2];
} selem_t;
#endif
static struct mixer_name_table {
const char *longname;
const char *shortname;
@ -105,6 +104,8 @@ static struct mixer_name_table {
{0, 0},
};
#endif
static const char *get_short_name(const char *lname)
{
struct mixer_name_table *p;
@ -626,6 +627,7 @@ static int simple_update(snd_mixer_elem_t *melem)
return 0;
}
#ifndef DOC_HIDDEN
static struct suf {
const char *suffix;
selem_ctl_type_t type;
@ -641,6 +643,7 @@ static struct suf {
{" Volume", CTL_GLOBAL_VOLUME},
{NULL, 0}
};
#endif
/* Return base length or 0 on failure */
static int base_len(const char *name, selem_ctl_type_t *type)