mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-19 05:33:43 -04:00
replace <values.h> -> <limits.h> and fix K&R style related warning
This commit is contained in:
parent
c44f485572
commit
e842533f83
1 changed files with 3 additions and 3 deletions
|
|
@ -71,7 +71,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <values.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
/*void exit(), free();*/
|
/*void exit(), free();*/
|
||||||
|
|
@ -148,7 +148,7 @@ static void msginit ();
|
||||||
static int msgleng ();
|
static int msgleng ();
|
||||||
static void msgadd ();
|
static void msgadd ();
|
||||||
static void biggermsg ();
|
static void biggermsg ();
|
||||||
static int eputc (unsigned char c);
|
static int eputc ();
|
||||||
|
|
||||||
double mf_ticks2sec (unsigned long ticks, int division, unsigned long tempo);
|
double mf_ticks2sec (unsigned long ticks, int division, unsigned long tempo);
|
||||||
int mf_write_meta_event ();
|
int mf_write_meta_event ();
|
||||||
|
|
@ -328,7 +328,7 @@ readtrack () /* read a track chunk */
|
||||||
|
|
||||||
if (Mf_interactive)
|
if (Mf_interactive)
|
||||||
{
|
{
|
||||||
Mf_toberead = MAXINT;
|
Mf_toberead = INT_MAX;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue