]> Chaos Git - corbenik/ctrulib.git/commitdiff
Move sdmc_dir_t into 3ds/sdmc.h
authorMichael Theall <pigman46@gmail.com>
Sat, 16 Jan 2016 22:30:11 +0000 (16:30 -0600)
committerMichael Theall <pigman46@gmail.com>
Sat, 16 Jan 2016 22:30:11 +0000 (16:30 -0600)
libctru/include/3ds/sdmc.h
libctru/source/sdmc_dev.c

index 2b17e5340c18ec69c7d1c6861f863183633e86e0..e973d5a8ffc4047a9dca12469c1c75df84451cdf 100644 (file)
@@ -5,6 +5,14 @@
 #pragma once
 
 #include <3ds/types.h>
+#include <3ds/services/fs.h>
+
+/*! Open directory struct */
+typedef struct
+{
+  Handle    fd;                 /*! CTRU handle */
+  FS_DirectoryEntry entry_data; /*! Temporary storage for reading entries */
+} sdmc_dir_t;
 
 /// Initializes the SDMC driver.
 Result sdmcInit(void);
index 45de57f71ad89a81759701b66d3478bc6bfb5c0e..e8bf875ec33562907fe8cd1d95fc1bcdb1e5e628 100644 (file)
@@ -58,13 +58,6 @@ typedef struct
   u64    offset; /*! Current file offset */
 } sdmc_file_t;
 
-/*! Open directory struct */
-typedef struct
-{
-  Handle    fd;                 /*! CTRU handle */
-  FS_DirectoryEntry entry_data; /*! Temporary storage for reading entries */
-} sdmc_dir_t;
-
 /*! SDMC devoptab */
 static devoptab_t
 sdmc_devoptab =