Skip to content

Commit

Permalink
fix typo include (#658)
Browse files Browse the repository at this point in the history
Co-authored-by: MegaMech <[email protected]>
  • Loading branch information
coco875 and MegaMech authored Aug 1, 2024
1 parent 8f44a7e commit b1161c2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion include/PR/gu.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <PR/mbi.h>
#include <PR/ultratypes.h>
#include "common_structs.h"
#include <common_structs.h>

#define GU_PI 3.1415926
/* Functions */
Expand Down
2 changes: 1 addition & 1 deletion include/PR/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extern "C" {
#endif

#include <PR/ultratypes.h>
#include "PR/os_message.h"
#include <PR/os_message.h>

#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)

Expand Down
1 change: 1 addition & 0 deletions include/PR/ultratypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ typedef double f64;
typedef u32 size_t;
typedef s32 ssize_t;
typedef u32 uintptr_t;
typedef u8 uint8_t;
typedef s32 intptr_t;
typedef s32 ptrdiff_t;
#else
Expand Down
2 changes: 1 addition & 1 deletion include/bomb_kart.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef BOMB_KART_H
#define BOMB_KART_H

#include "common_structs.h"
#include <common_structs.h>
#include <mk64.h>

#define NUM_BOMB_KARTS_MAX 7
Expand Down
2 changes: 1 addition & 1 deletion include/common_structs.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _COMMON_STRUCTS_H_
#define _COMMON_STRUCTS_H_

#include "ultra64.h"
#include <ultra64.h>

typedef f32 Vec3f[3];
typedef f32 Vec4f[4];
Expand Down
2 changes: 1 addition & 1 deletion include/decode.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _FUNCTIONS_H_
#define _FUNCTIONS_H_

#include "common_structs.h"
#include <common_structs.h>

void mio0decode(u8* arg0, u8* arg1);

Expand Down
2 changes: 1 addition & 1 deletion include/libc/stddef.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef STDDEF_H
#define STDDEF_H

#include "PR/ultratypes.h"
#include <PR/ultratypes.h>

#ifndef offsetof
#define offsetof(st, m) ((size_t)&(((st *)0)->m))
Expand Down
2 changes: 1 addition & 1 deletion include/libc/string.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef STRING_H
#define STRING_H

#include "PR/ultratypes.h"
#include <PR/ultratypes.h>

void *memcpy(void *dst, const void *src, size_t size);
size_t strlen(const char *str);
Expand Down
2 changes: 1 addition & 1 deletion include/objects.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define OBJECTS_H

#include "spline.h"
#include "common_structs.h"
#include <common_structs.h>

#define OBJECT_LIST_SIZE 0x226
#define SOME_OBJECT_INDEX_LIST_SIZE 32
Expand Down
2 changes: 1 addition & 1 deletion include/save_data.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef SAVE_DATA_H
#define SAVE_DATA_H

#include "common_structs.h"
#include <common_structs.h>

typedef struct {
// 6 little endian 3-byte records.
Expand Down
2 changes: 1 addition & 1 deletion include/spline.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef SPLINE_H
#define SPLINE_H

#include "common_structs.h"
#include <common_structs.h>

/*
These are some very good videos about splines/Bezier curves in general
Expand Down
2 changes: 1 addition & 1 deletion include/vehicles.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef VEHICLES_H
#define VEHICLES_H

#include "common_structs.h"
#include <common_structs.h>

#define NUM_1P_PASSENGER_CARS 4
#define NUM_2P_PASSENGER_CARS 1
Expand Down
2 changes: 1 addition & 1 deletion include/waypoints.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef WAYPOINTS_H
#define WAYPOINTS_H

#include "common_structs.h"
#include <common_structs.h>

typedef struct {
/* 0x00 */ s16 posX;
Expand Down

0 comments on commit b1161c2

Please sign in to comment.