Replace angle includes with quote includes

=== DETAILS

Replaced includes for things that aren't standard library headers so
they use quotes instead of brackets.

Also fixed up a couple of headers that had include-order dependencies.
This commit is contained in:
gblues 2018-05-02 21:31:00 -07:00
parent 7448fd3157
commit 27bfcf3c77
11 changed files with 54 additions and 57 deletions

View File

@ -14,8 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <wiiu/hid.h>
#include <wiiu/os/atomic.h>
#include "wiiu/hid.h"
#include "wiiu/os/atomic.h"
static wiiu_event_list events;
static wiiu_adapter_list adapters;

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <wiiu/input.h>
#include "wiiu/input.h"
static bool hidpad_init(void *data);
static bool hidpad_query_pad(unsigned pad);

View File

@ -20,7 +20,7 @@
* controllers.
*/
#include <wiiu/input.h>
#include "wiiu/input.h"
static bool kpad_init(void *data);
static bool kpad_query_pad(unsigned pad);

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <wiiu/input.h>
#include "wiiu/input.h"
enum wiiu_pad_axes {
AXIS_LEFT_ANALOG_X,

View File

@ -21,7 +21,7 @@
* - For HID controllers, see hid_driver.c
*/
#include <wiiu/input.h>
#include "wiiu/input.h"
#define PANIC_BUTTON_MASK (VPAD_BUTTON_R | VPAD_BUTTON_L | VPAD_BUTTON_STICK_R | VPAD_BUTTON_STICK_L)

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <wiiu/input.h>
#include "wiiu/input.h"
#include "wiiu_dbg.h"

View File

@ -17,8 +17,9 @@
#ifndef __WIIU_HID__H
#define __WIIU_HID__H
#include <wiiu/hid_types.h>
#include <wiiu/input.h>
#include "wiiu/hid_types.h"
#include "wiiu/input.h"
#include "input/common/hid/hid_device_driver.h"
#define DEVICE_UNUSED 0
#define DEVICE_USED 1

View File

@ -17,31 +17,32 @@
#ifndef __WIIU_INPUT__H
#define __WIIU_INPUT__H
#include <wiiu/hid_types.h>
#include <gamepad.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif /* HAVE_CONFIG_H */
#include <string.h>
#include <malloc.h>
#include <unistd.h>
#include <wiiu/os.h>
#include <wiiu/syshid.h>
#include <wiiu/vpad.h>
#include <wiiu/kpad.h>
#include <wiiu/pad_strings.h>
#include <input/input_driver.h>
#include "../../common/hid/hid_device_driver.h"
#include <tasks/tasks_internal.h>
#include <input/connect/joypad_connection.h>
#include <retroarch.h>
#include <verbosity.h>
#include <command.h>
#include <gfx/video_driver.h>
#include <wiiu/hid.h>
#include "wiiu/hid_types.h"
#include "gamepad.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include "wiiu/os.h"
#include "wiiu/syshid.h"
#include "wiiu/vpad.h"
#include "wiiu/kpad.h"
#include "wiiu/pad_strings.h"
#include "wiiu/hid.h"
#include "input/input_driver.h"
#include "input/common/hid/hid_device_driver.h"
#include "tasks/tasks_internal.h"
#include "input/connect/joypad_connection.h"
#include "retroarch.h"
#include "verbosity.h"
#include "command.h"
#include "gfx/video_driver.h"
#define WIIMOTE_TYPE_WIIPLUS 0x00
#define WIIMOTE_TYPE_NUNCHUK 0x01

View File

@ -1,6 +1,8 @@
#ifndef __WIIU_HBL_LOADER_H__
#define __WIIU_HBL_LOADER_H__
#include "wiiu/types.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -17,25 +17,36 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fat.h>
#include <iosuhax.h>
#include <sys/iosupport.h>
#include <unistd.h>
#include <wiiu/gx2.h>
#include <wiiu/ios.h>
#include <wiiu/kpad.h>
#include <wiiu/os.h>
#include <wiiu/procui.h>
#include <wiiu/sysapp.h>
#include "main.h"
#include "hbl.h"
#include "fs/fs_utils.h"
#include "fs/sd_fat_devoptab.h"
#include "system/dynamic.h"
#include "system/memory.h"
#include "system/exception_handler.h"
#include "wiiu/gx2.h"
#include "wiiu/ios.h"
#include "wiiu/kpad.h"
#include "wiiu/os.h"
#include "wiiu/procui.h"
#include "wiiu/sysapp.h"
/**
* This file contains the main entrypoints for the Wii U executable that
* set up the call to main().
*/
int main(int argc, char **argv);
void __fini(void);
void __init(void);
static void fsdev_init(void);
static void fsdev_exit(void);

View File

@ -1,18 +0,0 @@
#ifndef WIIU_MAIN__H
#define WIIU_MAIN__H
#include "hbl.h"
#include "wiiu_dbg.h"
#include "fs/fs_utils.h"
#include "fs/sd_fat_devoptab.h"
#include "system/dynamic.h"
#include "system/memory.h"
#include "system/exception_handler.h"
void __init(void);
void __fini(void);
int main(int argc, char **argv);
#endif /* WIIU_MAIN_H */