From 6bad2b90e69a0f2307011e8e304ea235b6a9c74e Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 27 Dec 2021 02:45:15 +0000 Subject: [PATCH] remove type redefinitions --- configure.ac | 2 +- src/elf2kip.c | 5 ----- src/elf2nro.c | 4 ---- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 8be333e..b550fb1 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT([switch-tools],[1.11.0],[https://github.com/switchbrew/switch-tools/issues]) +AC_INIT([switch-tools],[1.11.1],[https://github.com/switchbrew/switch-tools/issues]) AC_CONFIG_SRCDIR([src/build_pfs0.c]) AM_INIT_AUTOMAKE([subdir-objects]) diff --git a/src/elf2kip.c b/src/elf2kip.c index b87e799..cd1453e 100644 --- a/src/elf2kip.c +++ b/src/elf2kip.c @@ -9,11 +9,6 @@ #include "blz.h" #include "elf64.h" -typedef uint64_t u64; -typedef uint32_t u32; -typedef uint16_t u16; -typedef uint8_t u8; - typedef struct { u32 DstOff; u32 DecompSz; diff --git a/src/elf2nro.c b/src/elf2nro.c index 2e04ef7..2b6c9e8 100644 --- a/src/elf2nro.c +++ b/src/elf2nro.c @@ -8,10 +8,6 @@ #include "elf64.h" #include "romfs.h" -typedef uint64_t u64; -typedef uint32_t u32; -typedef uint8_t u8; - typedef struct { u32 FileOff; u32 Size;