summaryrefslogtreecommitdiff
path: root/unix
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 /unix
parent9fa266e62dc0782f7c2125f18fed2668ea414b29 (diff)
Moved headers to separate directory
Diffstat (limited to 'unix')
-rw-r--r--unix/draw.c5
-rw-r--r--unix/draw.h6
-rw-r--r--unix/read_cfg.c6
-rw-r--r--unix/read_cfg.h12
4 files changed, 6 insertions, 23 deletions
diff --git a/unix/draw.c b/unix/draw.c
index b35b695..1037b4e 100644
--- a/unix/draw.c
+++ b/unix/draw.c
@@ -1,8 +1,9 @@
+#include <ncurses.h>
#include <stdlib.h>
#include <string.h>
-#include "../draw.h"
-#include "draw.h"
+#include "../include/draw.h"
+#include "../include/draw_extend.h"
void launch(){
char full_command[BUF_LEN];
diff --git a/unix/draw.h b/unix/draw.h
deleted file mode 100644
index b8e1c24..0000000
--- a/unix/draw.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef UNIX_DRAW_H
-#define UNIX_DRAW_H
-
-void launch();
-
-#endif
diff --git a/unix/read_cfg.c b/unix/read_cfg.c
index fab91b4..b7fe45b 100644
--- a/unix/read_cfg.c
+++ b/unix/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/read_cfg.h"
+#include "../include/entry.h"
+#include "../include/read_cfg_extend.h"
char sep = '/';
diff --git a/unix/read_cfg.h b/unix/read_cfg.h
deleted file mode 100644
index 029cb05..0000000
--- a/unix/read_cfg.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef UNIX_READ_CFG_H
-#define UNIX_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