summaryrefslogtreecommitdiffhomepage
path: root/Examples/ExampleCDialect.c
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/ExampleCDialect.c')
-rw-r--r--Examples/ExampleCDialect.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/Examples/ExampleCDialect.c b/Examples/ExampleCDialect.c
index c8c72d1..899062c 100644
--- a/Examples/ExampleCDialect.c
+++ b/Examples/ExampleCDialect.c
@@ -1,12 +1,11 @@
-int main(int argc, char const *argv[])
-{
- int* foo = 0x1000;
+int main(int argc, char const* argv[]) {
+ int* foo = 0x1000;
- if (foo == 57) {
- foo = 0x2000;
- *foo = 5;
- return foo;
- }
+ if (foo == 57) {
+ foo = 0x2000;
+ *foo = 5;
+ return foo;
+ }
- return 57;
+ return 57;
}