diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-11-18 17:23:25 +0100 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-11-18 17:23:25 +0100 |
| commit | 619fa016bbc4ddd8d4a670cf3f8aa63617473b2f (patch) | |
| tree | 3b526a071b715452beadf168e3c6fc898b5fe48c /examples/io | |
| parent | 8b6a76055ca426c494e16042e21f5e19b870b2ac (diff) | |
| download | psn00bsdk-619fa016bbc4ddd8d4a670cf3f8aa63617473b2f.tar.gz | |
Deprecated malloc.h, moved int*_t types to stdint.h
Diffstat (limited to 'examples/io')
| -rw-r--r-- | examples/io/pads/main.c | 2 | ||||
| -rw-r--r-- | examples/io/pads/spi.c | 4 | ||||
| -rw-r--r-- | examples/io/pads/spi.h | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/examples/io/pads/main.c b/examples/io/pads/main.c index ea7219b..92beb1c 100644 --- a/examples/io/pads/main.c +++ b/examples/io/pads/main.c @@ -23,7 +23,7 @@ * zerofilled responses, slow replies) for maximum compatibility. */ -#include <sys/types.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/examples/io/pads/spi.c b/examples/io/pads/spi.c index 5fc2648..e01b3f6 100644 --- a/examples/io/pads/spi.c +++ b/examples/io/pads/spi.c @@ -26,9 +26,9 @@ * card APIs) alongside it. */ -#include <sys/types.h> +#include <stdint.h> #include <string.h> -#include <malloc.h> +#include <stdlib.h> #include <psxetc.h> #include <psxapi.h> #include <psxpad.h> diff --git a/examples/io/pads/spi.h b/examples/io/pads/spi.h index 09223e2..1c473cd 100644 --- a/examples/io/pads/spi.h +++ b/examples/io/pads/spi.h @@ -6,6 +6,7 @@ #ifndef __SPI_H #define __SPI_H +#include <stdint.h> #include <psxpad.h> //#define SPI_BUFF_LEN 34 |
