mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-06 00:39:11 +00:00
[makerom/ctrtool] Misc #include cleanup.
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "ivfc.h"
|
#include "ivfc.h"
|
||||||
#include "ctr.h"
|
#include "ctr.h"
|
||||||
#include <inttypes.h>
|
|
||||||
|
|
||||||
void ivfc_init(ivfc_context* ctx)
|
void ivfc_init(ivfc_context* ctx)
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-3
@@ -3,9 +3,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <dirent.h>
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <direct.h>
|
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -19,7 +17,7 @@ typedef wchar_t oschar_t; // UTF16-LE
|
|||||||
typedef char oschar_t; // UTF8
|
typedef char oschar_t; // UTF8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Simple redirect macros for functions and types
|
// Simple redirect macros for functions and types
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define os_strlen wcslen
|
#define os_strlen wcslen
|
||||||
#define os_strcmp wcscmp
|
#define os_strcmp wcscmp
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
|
||||||
#include <wchar.h>
|
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "romfs.h"
|
#include "romfs.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|||||||
+2
-8
@@ -1,16 +1,10 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <strings.h>
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#include <wchar.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
#include "utils.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
u32 align(u32 offset, u32 alignment)
|
u32 align(u32 offset, u32 alignment)
|
||||||
|
|||||||
+1
-3
@@ -3,9 +3,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <dirent.h>
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <direct.h>
|
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -19,7 +17,7 @@ typedef wchar_t oschar_t; // UTF16-LE
|
|||||||
typedef char oschar_t; // UTF8
|
typedef char oschar_t; // UTF8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Simple redirect macros for functions and types
|
// Simple redirect macros for functions and types
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define os_strlen wcslen
|
#define os_strlen wcslen
|
||||||
#define os_strcmp wcscmp
|
#define os_strcmp wcscmp
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
#ifndef _WIN32
|
|
||||||
#include <iconv.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "polarssl/base64.h"
|
#include "polarssl/base64.h"
|
||||||
|
|
||||||
#define IO_BLOCKSIZE 5*MB
|
#define IO_BLOCKSIZE 5*MB
|
||||||
|
|||||||
Reference in New Issue
Block a user