lib: test: 80-qsort: Fix warnings.
* lib/tests/stdlib/80-qsort.c: Include missing stdlib.h. (compare_int): Fix signature.
This commit is contained in:
parent
f22d640465
commit
7b3d0c7aa6
|
@ -20,10 +20,11 @@
|
||||||
|
|
||||||
#include <mes/lib.h>
|
#include <mes/lib.h>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
compare_int (void *a, void *b)
|
compare_int (void const *a, void const *b)
|
||||||
{
|
{
|
||||||
eputs ("compare: ");
|
eputs ("compare: ");
|
||||||
eputs (itoa (*(int *) a));
|
eputs (itoa (*(int *) a));
|
||||||
|
|
Loading…
Reference in New Issue