From: Jean-Philippe Orsini Date: Wed, 16 Oct 2013 08:22:42 +0000 (+0000) Subject: escape can be static X-Git-Tag: v0.0.6~112 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ptask.git;a=commitdiff_plain;h=b6065fde217931ec9677b0fb51facf942e2e616b escape can be static --- diff --git a/src/tw.c b/src/tw.c index 33fbc94..890449f 100644 --- 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; diff --git a/src/tw.h b/src/tw.h index e919095..3a26712 100644 --- 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