summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-12-28 15:34:29 -0800
committerlouie <lshprung@yahoo.com>2020-12-28 15:34:29 -0800
commitb8209a2349ffb2153e0c17f43412f2c9906aa8d0 (patch)
treea816b35e8c38b64aad1c00e6ae6a68a00aa282f0 /windows
parent9fa266e62dc0782f7c2125f18fed2668ea414b29 (diff)
Moved headers to separate directory
Diffstat (limited to 'windows')
-rw-r--r--windows/draw.c9
-rw-r--r--windows/draw.h6
-rw-r--r--windows/read_cfg.c6
-rw-r--r--windows/read_cfg.h12
4 files changed, 8 insertions, 25 deletions
diff --git a/windows/draw.c b/windows/draw.c
index dd13cc8..b264a6b 100644
--- a/windows/draw.c
+++ b/windows/draw.c
@@ -1,10 +1,11 @@
+#include <ncurses/ncurses.h>
#include <stdbool.h>
#include <windows.h>
-#include "../draw.h"
-#include "../entry.h"
-#include "../group.h"
-#include "draw.h"
+#include "../include/draw.h"
+#include "../include/draw_extend.h"
+#include "../include/entry.h"
+#include "../include/group.h"
void launch(){
char *program = get_gprog(g[g_hover]);
diff --git a/windows/draw.h b/windows/draw.h
deleted file mode 100644
index acde6ee..0000000
--- a/windows/draw.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef WINDOWS_DRAW_H
-#define WINDOWS_DRAW_H
-
-void launch();
-
-#endif
diff --git a/windows/read_cfg.c b/windows/read_cfg.c
index 88f190f..70e4515 100644
--- a/windows/read_cfg.c
+++ b/windows/read_cfg.c
@@ -8,9 +8,9 @@
#include <sys/types.h>
#include <unistd.h>
-#include "../read_cfg.h"
-#include "../entry.h"
-#include "read_cfg.h"
+#include "../include/entry.h"
+#include "../include/read_cfg.h"
+#include "../include/read_cfg_extend.h"
char sep = '\\';
diff --git a/windows/read_cfg.h b/windows/read_cfg.h
deleted file mode 100644
index 19df23e..0000000
--- a/windows/read_cfg.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef WINDOWS_READ_CFG_H
-#define WINDOWS_READ_CFG_H
-
-extern char sep;
-
-char *find_config();
-
-void mkconfig_wizard();
-
-void handle_fname(char *path, char *group, bool recurs, bool force, char *name, int ln);
-
-#endif