From 2a24b1586f5cbd7f29e5a5164e3e9929ec255ccc Mon Sep 17 00:00:00 2001 From: jlamothe Date: Sat, 4 Nov 2023 21:21:12 +0000 Subject: [PATCH] renamed init_test() to test_init() and defined --- mkfile | 6 +++--- test.c | 2 +- test/init.c | 11 +++++++++++ test/init.h | 2 +- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 test/init.c diff --git a/mkfile b/mkfile index 3fe04e7..068b7e7 100644 --- a/mkfile +++ b/mkfile @@ -3,11 +3,11 @@ qfmt: main.$O lib.$O $LD $LDFLAGS -o qfmt main.$O lib.$O -$O.qfmt: test.$O lib.$O - $LD $LDFLAGS -o $O.qfmt test.$O lib.$O +$O.qfmt: test.$O test/init.$O lib.$O + $LD $LDFLAGS -o $O.qfmt test.$O test/init.$O lib.$O TEST=qfmt +#include + +void +test_init() +{ + print("testing: init()"); + print("tests not yet defined"); +} + +//jl diff --git a/test/init.h b/test/init.h index ed7c33b..f3891ef 100644 --- a/test/init.h +++ b/test/init.h @@ -1,3 +1,3 @@ -extern void init_test(); +extern void test_init(); //jl