summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com>2020-06-11 18:29:35 -0700
committerGitHub <noreply@github.com>2020-06-11 18:29:35 -0700
commitd5350cd72b50b247e90ee13633700210d5493354 (patch)
tree6e07cd66c0aa1c5cae51f9dcaca84a48dfaca69e
parent5edf5b6b81c676ec0dcc057fb48423b5b309e3a3 (diff)
Update CONTRIBUTING.md
-rw-r--r--CONTRIBUTING.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f79f82bd..5a757d7f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -251,9 +251,9 @@ We know `r4` is an `Entity`, which is from `entity.h`. We can declare this above
What about `gUnk_08120668` and `sub_0805EC9C`?
```c
extern void sub_0805EC9C();
-extern (*gUnk_08120668[])(Entity *);
+extern void (*gUnk_08120668[])(Entity *);
```
-Now the compiler will look outside of this file for both of these. We don't have to set the size of `gUnk_08120668`, a pointer array, since it's size is irrelevant for now.
+Now the compiler will look outside of this file for both of these. We don't have to set the size of `gUnk_08120668`, a function array, since it's size is irrelevant for now.
---
@@ -263,7 +263,7 @@ Now our file looks like this:
#include "entity.h"
extern void sub_0805EC9C();
-extern (*gUnk_08120668[])(Entity *);
+extern void (*gUnk_08120668[])(Entity *);
void sub_08086284(Entity *r4) {
gUnk_08120668[r4->action](r4);