[makerom/ctrtool] Misc #include cleanup.

This commit is contained in:
jakcron
2015-11-25 11:54:05 +08:00
parent 40dabc5a46
commit 9d29a4ba62
6 changed files with 4 additions and 22 deletions
-1
View File
@@ -5,7 +5,6 @@
#include "utils.h"
#include "ivfc.h"
#include "ctr.h"
#include <inttypes.h>
void ivfc_init(ivfc_context* ctx)
{
+1 -3
View File
@@ -3,9 +3,7 @@
#include <string.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <dirent.h>
#ifdef _WIN32
#include <direct.h>
#include <wchar.h>
#endif
@@ -19,7 +17,7 @@ typedef wchar_t oschar_t; // UTF16-LE
typedef char oschar_t; // UTF8
#endif
// Simple redirect macros for functions and types
// Simple redirect macros for functions and types
#ifdef _WIN32
#define os_strlen wcslen
#define os_strcmp wcscmp
-3
View File
@@ -1,8 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include "types.h"
#include "romfs.h"
#include "utils.h"
+2 -8
View File
@@ -1,16 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "utils.h"
#ifdef _WIN32
#include <direct.h>
#include <wchar.h>
#endif
#include "utils.h"
u32 align(u32 offset, u32 alignment)
+1 -3
View File
@@ -3,9 +3,7 @@
#include <string.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <dirent.h>
#ifdef _WIN32
#include <direct.h>
#include <wchar.h>
#endif
@@ -19,7 +17,7 @@ typedef wchar_t oschar_t; // UTF16-LE
typedef char oschar_t; // UTF8
#endif
// Simple redirect macros for functions and types
// Simple redirect macros for functions and types
#ifdef _WIN32
#define os_strlen wcslen
#define os_strcmp wcscmp
-4
View File
@@ -1,8 +1,4 @@
#include "lib.h"
#ifndef _WIN32
#include <iconv.h>
#endif
#include "polarssl/base64.h"
#define IO_BLOCKSIZE 5*MB