summaryrefslogtreecommitdiffstatshomepage
path: root/unix/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/main.c')
-rw-r--r--unix/main.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/unix/main.c b/unix/main.c
index 054dd6acb6..03902a3e9a 100644
--- a/unix/main.c
+++ b/unix/main.c
@@ -376,26 +376,7 @@ STATIC void set_sys_argv(char *argv[], int argc, int start_arg) {
#define PATHLIST_SEP_CHAR ':'
#endif
-/*
-typedef union _a_t { uint32_t u32; uint64_t u64; } a_t;
-STATIC const uint64_t table[4] = {
- 1,
- 2,
- 3,
- //(a_t){(uint32_t)&set_sys_argv}.u64,
- ((a_t){(uint32_t)123}).u64,
-};
-*/
-
int main(int argc, char **argv) {
- /*
- printf("sizeof(void*)=%u\n", (uint)sizeof(void*));
- for (int i = 0; i < sizeof(table); ++i) {
- byte *ptr = (void*)&table[0];
- printf(" %02x", ptr[i]);
- if ((i + 1)%8 == 0) printf("\n");
- }
- */
mp_stack_set_limit(40000 * (BYTES_PER_WORD / 4));
pre_process_options(argc, argv);