X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=cheat.c;fp=cheat.c;h=d25e218fdf9a70b153b16cf836e8758037683105;hp=0eee14bfb2d44b29be7d0d3aad4639cbe538cf2a;hb=bb2b8e0fcad10cf896acd1bfd42267c40f4f21ea;hpb=83780631983a2eb5dc0e6d8789bedb67de985870 diff --git a/cheat.c b/cheat.c index 0eee14b..d25e218 100644 --- a/cheat.c +++ b/cheat.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "advent.h" int main(int argc, char *argv[]) @@ -96,3 +97,14 @@ int main(int argc, char *argv[]) return EXIT_SUCCESS; } + +/* + * Ugh...unused, but required for linkage. + * See thje actually useful version of this in main.c + */ + +char *myreadline(const char *prompt) +{ + return readline(prompt); +} +