~hp/lv2lint

02331914988fa4fbe62f7c89e8da6b1be00467b0 — Hanspeter Portner 1 year, 3 days ago 21acf4f
use unsigned instead of useconds_t for musl
2 files changed, 3 insertions(+), 3 deletions(-)

M meson_options.txt
M src/lv2lint_alloc.c
M meson_options.txt => meson_options.txt +1 -1
@@ 4,4 4,4 @@
option('online-tests', type : 'feature', value : 'disabled')
option('elf-tests', type : 'feature', value : 'disabled')
option('x11-tests', type : 'feature', value : 'disabled')
option('version', type : 'string', value : '0.17.75')
option('version', type : 'string', value : '0.17.77')

M src/lv2lint_alloc.c => src/lv2lint_alloc.c +2 -2
@@ 34,7 34,7 @@ static int   (*__sem_wait)(sem_t *) = NULL;
static int   (*__sem_timedwait)(sem_t *, const struct timespec *) = NULL;

static unsigned (*__sleep)(unsigned) = NULL;
static int   (*__usleep)(useconds_t) = NULL;
static int   (*__usleep)(unsigned) = NULL;
static int   (*__nanosleep)(const struct timespec *, struct timespec *) = NULL;
static int   (*__clock_nanosleep)(clockid_t, int, const struct timespec *,
																	struct timespec *) = NULL;


@@ 239,7 239,7 @@ sleep(unsigned secs)
}

int
usleep(useconds_t usecs)
usleep(unsigned usecs)
{
	_mask(SHIFT_usleep);