From fc2e47766512414f787e21e912ac05dfdc88bd74 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Tue, 18 Nov 2025 15:21:22 -0500 Subject: [PATCH] wip --- globals.c | 10 ---------- globals.h | 6 ------ main.c | 7 ------- 3 files changed, 23 deletions(-) delete mode 100644 globals.c delete mode 100644 globals.h diff --git a/globals.c b/globals.c deleted file mode 100644 index 36238ff..0000000 --- a/globals.c +++ /dev/null @@ -1,10 +0,0 @@ -/* globals.c - * - * Global implementation - * - * written by vx-clutch - */ - -#include "globals.h" - -int I = 0; diff --git a/globals.h b/globals.h deleted file mode 100644 index 8394d85..0000000 --- a/globals.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef GLOBALS_H_ -#define GLOBALS_H_ - -extern int I; - -#endif diff --git a/main.c b/main.c index ccfc878..00d5d99 100644 --- a/main.c +++ b/main.c @@ -19,7 +19,6 @@ #include #include "edef.h" -#include "globals.h" #include "proj.h" #include "shell.h" #include "usage.h" @@ -31,7 +30,6 @@ void usage(int status) { fputs(" -s enable shell creation mode\n", stdout); fputs(" -S enable shell creation mode as a full project\n", stdout); - fputs(" -I ignore estruct.h and prompt for all\n", stdout); fputs(" --help display this help and exit\n", stdout); fputs(" --version output version information and exit\n", stdout); @@ -61,8 +59,6 @@ int main(int argc, char **argv) { shell_mode = SINGLE; else if (argv[carg][1] == 'S') shell_mode = FULL; - else if (argv[carg][1] == 'i') - I = 1; else die("unknown option"); } else @@ -72,9 +68,6 @@ int main(int argc, char **argv) { if (!package) die("no package name provided"); - if (I) - puts("'i' is not implemented yet"); - if (shell_mode) makeshell(package, shell_mode); else