summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-06-16 15:07:34 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-06-16 15:07:34 -0700
commit16870f63fafadd94dbd182d9f4d2f86c821cbfc4 (patch)
tree3b2ed8d76c76393351e1a701794ec0690a0a6571
parent80b752d29d53a6de7b99290570c3d6b3f5e851b0 (diff)
Define print routines
-rw-r--r--core.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/core.c b/core.c
index 00539a7..203f79a 100644
--- a/core.c
+++ b/core.c
@@ -4,6 +4,15 @@
#include <stdio.h>
#include <string.h>
+void printError(const char *s) {
+ printf("ERROR: %s\n", s);
+}
+
+
+void printInfo(const char *s) {
+ printf("INFO: %s\n", s);
+}
+
void gitrolex_parseArgs(struct State_t *s, int argc, const char *argv[]) {
const char *task;
if(argc < 2) {