mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
[makerom/ctrtool] Misc #include cleanup.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include "utils.h"
|
||||
#include "ivfc.h"
|
||||
#include "ctr.h"
|
||||
#include <inttypes.h>
|
||||
|
||||
void ivfc_init(ivfc_context* ctx)
|
||||
{
|
||||
|
||||
+1
-3
@@ -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
|
||||
|
||||
@@ -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
@@ -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
@@ -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
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#include "lib.h"
|
||||
#ifndef _WIN32
|
||||
#include <iconv.h>
|
||||
#endif
|
||||
|
||||
#include "polarssl/base64.h"
|
||||
|
||||
#define IO_BLOCKSIZE 5*MB
|
||||
|
||||
Reference in New Issue
Block a user