escape can be static
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 16 Oct 2013 08:22:42 +0000 (08:22 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 16 Oct 2013 08:22:42 +0000 (08:22 +0000)
src/tw.c
src/tw.h

index 33fbc94..890449f 100644 (file)
--- a/src/tw.c
+++ b/src/tw.c
@@ -147,7 +147,7 @@ struct task **tw_get_all_tasks(const char *status)
        return tasks;
 }
 
-char *escape(const char *txt)
+static char *escape(const char *txt)
 {
        char *result;
        char *c;
index e919095..3a26712 100644 (file)
--- a/src/tw.h
+++ b/src/tw.h
@@ -38,6 +38,4 @@ void tw_done(const char *uuid);
 void tw_add(const char *newdesc);
 void tw_task_list_free(struct task **tasks);
 
-char *escape(const char *txt);
-
 #endif