aboutsummaryrefslogtreecommitdiffstats
path: root/c/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/main.c12
-rw-r--r--c/main.cpp6
2 files changed, 18 insertions, 0 deletions
diff --git a/c/main.c b/c/main.c
new file mode 100644
index 0000000..8cc320a
--- /dev/null
+++ b/c/main.c
@@ -0,0 +1,12 @@
+
+#include <inttypes.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <string.h>
+
+#define __maybe_unused__ __attribute__((unused))
+
+#pragma weak main
+int main (int argc, char** argv) {
+ return 0;
+}
diff --git a/c/main.cpp b/c/main.cpp
new file mode 100644
index 0000000..4e1d93b
--- /dev/null
+++ b/c/main.cpp
@@ -0,0 +1,6 @@
+
+#include "header.hpp"
+
+int main (int argc, char** argv) {
+ return 0;
+}