mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-08 10:06:19 -05:00
reshuffle included files to include config.h as first
config.h may contain defines like _FILE_OFFSET_BITS which influence the system wide include files (off_t types, open -> open64 function usage etc.). Related: https://github.com/alsa-project/alsa-lib/pull/333 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
6142ff0ca7
commit
ad3a8b8b31
77 changed files with 92 additions and 101 deletions
|
|
@ -25,6 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -32,7 +33,6 @@
|
|||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "control_local.h"
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
#define SND_FILE_CONTROL ALSA_DEVICE_DIRECTORY "controlC%i"
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ in-kernel implementations utilize this feature for I/O operations. This is
|
|||
against the original design.
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
|
@ -196,7 +197,6 @@ against the original design.
|
|||
#include <poll.h>
|
||||
#include <stdbool.h>
|
||||
#include <limits.h>
|
||||
#include "control_local.h"
|
||||
|
||||
/**
|
||||
* \brief get identifier of CTL handle
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include "control_external.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include "control_local.h"
|
||||
#include "control_external.h"
|
||||
|
||||
#ifndef PIC
|
||||
/* entry for static linking */
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -33,7 +34,6 @@
|
|||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "control_local.h"
|
||||
|
||||
#ifndef PIC
|
||||
/* entry for static linking */
|
||||
|
|
|
|||
|
|
@ -25,13 +25,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include "control_local.h"
|
||||
|
||||
#if 0
|
||||
#define REMAP_DEBUG 1
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include "control_local.h"
|
||||
|
||||
/* Function to convert from percentage to volume. val = percentage */
|
||||
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include "control_local.h"
|
||||
|
||||
static void __fill_eld_ctl_id(snd_ctl_elem_id_t *id, int dev, int subdev)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -42,13 +42,13 @@ to reduce overhead accessing the real controls in kernel drivers.
|
|||
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "control_local.h"
|
||||
#ifdef HAVE_LIBPTHREAD
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "control_local.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -33,7 +34,6 @@
|
|||
#ifndef HAVE_SOFT_FLOAT
|
||||
#include <math.h>
|
||||
#endif
|
||||
#include "control_local.h"
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
/* convert to index of integer array */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue