commit 38019a9e9cf022e0175443a0418291429a056b5b
parent 3b3f7cbfaa85f3679609573dd81379cc66be20e1
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 28 Dec 2020 19:28:56 +0100
os9: Move getconf() to os9.h
This function can be used from different places.
Change-Id: Ib780682e1aa4ac968a5d42d00638db95b12b0020
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/os9/os9.h b/include/os9/os9.h
@@ -258,6 +258,7 @@ extern noreturn void fault(const char *msg, Context *ctx);
extern noreturn void swtch(Context *ctx);
extern noreturn void trap(Context *ctx);
extern Ptable *initptable(Task *);
+extern char *getconf(char *);
/* dev functions */
extern void idev(void);
diff --git a/src/os9/sys.c b/src/os9/sys.c
@@ -4,8 +4,6 @@
Chan *console;
-extern char *getconf(char *name);
-
static void
icons(void)
{