projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup for current pylint.
[open-adventure.git]
/
cheat.c
diff --git
a/cheat.c
b/cheat.c
index 0eee14bfb2d44b29be7d0d3aad4639cbe538cf2a..92500e4e5b320c531cac13ccfade93ec2fbd0c65 100644
(file)
--- a/
cheat.c
+++ b/
cheat.c
@@
-12,6
+12,7
@@
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
+#include <editline/readline.h>
#include "advent.h"
int main(int argc, char *argv[])
#include "advent.h"
int main(int argc, char *argv[])
@@
-96,3
+97,19
@@
int main(int argc, char *argv[])
return EXIT_SUCCESS;
}
return EXIT_SUCCESS;
}
+
+// LCOV_EXCL_START
+/*
+ * Ugh...unused, but required for linkage.
+ * See the actually useful version of this in main.c
+ */
+
+char *myreadline(const char *prompt)
+{
+ return readline(prompt);
+}
+// LCOV_EXCL_STOP
+
+/* end */
+
+