diff options
author | Malfurious <m@lfurio.us> | 2023-07-06 06:06:14 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-07-06 06:06:14 -0400 |
commit | d622a30a82f8ac6914926a5bfdc0e31dff6ce55d (patch) | |
tree | 14233977af248b4cc0a0eb83325b39874147fb7e | |
parent | 4def3856f105b1461615285c9e33750a51177994 (diff) | |
download | misplays-d622a30a82f8ac6914926a5bfdc0e31dff6ce55d.tar.gz misplays-d622a30a82f8ac6914926a5bfdc0e31dff6ce55d.zip |
Rename curshelpers unit to 'helpers'
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | console.c | 2 | ||||
-rw-r--r-- | helpers.c (renamed from curshelpers.c) | 2 | ||||
-rw-r--r-- | helpers.h (renamed from curshelpers.h) | 1 | ||||
-rw-r--r-- | misplays.c | 2 |
5 files changed, 4 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 29662a6..7a13a74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ add_compile_definitions( add_executable(${PROJECT_NAME} console.c - curshelpers.c + helpers.c misplays.c ) @@ -4,7 +4,7 @@ #include <unistd.h> #include "console.h" -#include "curshelpers.h" +#include "helpers.h" int console_init(struct console *cons) { int master = open("/dev/ptmx", O_RDWR | O_NOCTTY); diff --git a/curshelpers.c b/helpers.c index 7b2f1d1..c93b774 100644 --- a/curshelpers.c +++ b/helpers.c @@ -1,7 +1,7 @@ #include <locale.h> #include <stdarg.h> -#include "curshelpers.h" +#include "helpers.h" void cursinit(void) { setlocale(LC_ALL, ""); diff --git a/curshelpers.h b/helpers.h index d8bda0d..7b85319 100644 --- a/curshelpers.h +++ b/helpers.h @@ -5,7 +5,6 @@ extern void cursinit(void); extern void cursupdate(void); - extern PANEL *newpan(int h, int w, int y, int x); extern void delpan(PANEL *pan); extern void reset_panel(PANEL *pan, int h, int w, int y, int x); @@ -3,7 +3,7 @@ #include <unistd.h> #include "console.h" -#include "curshelpers.h" +#include "helpers.h" static char *const SPLOITCMD[] = { "/bin/bash", "-c", "sploit <(echo 'io.interact()') cat", |